Browse Source

修改手机端跳转限制

anderx 7 years ago
parent
commit
3cdbbfe73d

+ 2 - 2
src/main/resources/shiro_base_auth.ini

@@ -1,5 +1,5 @@
 [base_auth]
-/=device
+/=anon
 /index=anon
 /login=anon
 /user/login.html=anon
@@ -16,7 +16,7 @@
 /open/**=anon
 /favicon.ico=anon
 /static/**=anon
-/portal/**=device
+/portal/**=anon
 /api/portal/**=anon
 /api/admin/**=admin
 /api/user/**=login

+ 2 - 2
src/main/resources/spring/spring-shiro.xml

@@ -160,9 +160,9 @@
 						<property name="loginUrl" value="/admin/login" />
 					</bean>
 				</entry>
-				<entry key="device">
+				<!-- <entry key="device">
 					<bean id="device" class="com.goafanti.core.shiro.filter.DeviceFilter"></bean>
-				</entry>
+				</entry> -->
 			</util:map>
 		</property>
 	</bean>