refactor: /login 不用经过csrf拦截器

This commit is contained in:
Captain.B 2021-03-20 13:21:38 +08:00
parent 376d7a08c8
commit dd636e9522
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ public class ShiroUtils {
public static void loadBaseFilterChain(Map<String, String> filterChainDefinitionMap){ public static void loadBaseFilterChain(Map<String, String> filterChainDefinitionMap){
filterChainDefinitionMap.put("/resource/**", "anon"); filterChainDefinitionMap.put("/resource/**", "anon");
filterChainDefinitionMap.put("/login", "anon");
filterChainDefinitionMap.put("/signin", "anon"); filterChainDefinitionMap.put("/signin", "anon");
filterChainDefinitionMap.put("/ldap/signin", "anon"); filterChainDefinitionMap.put("/ldap/signin", "anon");
filterChainDefinitionMap.put("/ldap/open", "anon"); filterChainDefinitionMap.put("/ldap/open", "anon");

@ -1 +1 @@
Subproject commit efd6af73b7c5cc53cd4515772000bc1436c49837 Subproject commit adefde265ff12d4ea909353c3f46008f8a8e17e7