|
@@ -151,7 +151,7 @@ public class SysLoginService
|
|
|
|
|
|
Authentication authentication = null;
|
|
|
try {
|
|
|
-
|
|
|
+
|
|
|
UserDetails userDetails = new LoginUser(sysUser.getUserId(), sysUser.getDeptId(), sysUser, permissionService.getMenuPermission(sysUser));
|
|
|
authentication = new UsernamePasswordAuthenticationToken(userDetails, null,
|
|
|
AuthorityUtils.createAuthorityList("ROLE_USER"));
|