diff --git a/src/main/java/com/lq/code/interceptor/shiro/ShiroRealm.java b/src/main/java/com/lq/code/interceptor/shiro/ShiroRealm.java index f271a58..b415b08 100755 --- a/src/main/java/com/lq/code/interceptor/shiro/ShiroRealm.java +++ b/src/main/java/com/lq/code/interceptor/shiro/ShiroRealm.java @@ -87,7 +87,6 @@ public class ShiroRealm extends AuthorizingRealm { sysUser.setLastLoginTime(new Date()); sysUserService.update(sysUser); String realmName=this.getName(); - // Object principal= token.getPrincipal(); return new SimpleAuthenticationInfo(sysUser,password,realmName); } }