From 1ddbfdfd57af2dfb88210f325bfd8edce4a411bc Mon Sep 17 00:00:00 2001 From: ronger Date: Thu, 8 Dec 2022 09:30:28 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=85=B3=E9=97=AD=20shiro=20RememberMe?= =?UTF-8?q?=20=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/rymcu/forest/config/ShiroConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/rymcu/forest/config/ShiroConfig.java b/src/main/java/com/rymcu/forest/config/ShiroConfig.java index cdcb37e..0de5a65 100644 --- a/src/main/java/com/rymcu/forest/config/ShiroConfig.java +++ b/src/main/java/com/rymcu/forest/config/ShiroConfig.java @@ -64,6 +64,7 @@ public class ShiroConfig { public SecurityManager securityManager() { DefaultWebSecurityManager defaultWebSecurityManager = new DefaultWebSecurityManager(); defaultWebSecurityManager.setRealm(baseShiroRealm()); + defaultWebSecurityManager.setRememberMeManager(null); return defaultWebSecurityManager; }