🎨 关闭 shiro RememberMe 功能

This commit is contained in:
ronger 2022-12-08 09:30:28 +08:00
parent fed695f98f
commit 1ddbfdfd57

View File

@ -64,6 +64,7 @@ public class ShiroConfig {
public SecurityManager securityManager() {
DefaultWebSecurityManager defaultWebSecurityManager = new DefaultWebSecurityManager();
defaultWebSecurityManager.setRealm(baseShiroRealm());
defaultWebSecurityManager.setRememberMeManager(null);
return defaultWebSecurityManager;
}