用户登录完成后设置默认组织

yun-zuoyi
wei.peng 6 years ago
parent a325fbf14f
commit 0e6990d3b7

@ -136,6 +136,7 @@ public class WhiteController extends CoreBaseController {
// 记录登录记录
recordSysUserLog(user.getUser().getUserInfoId(), loginName,CommonEnumUtil.USER_LOGIN_STATUS.LOGIN_SUCCESS.getValue(), ipAddr);
AuthUtil.setOrganize(user.getUser().getOrganize());
} catch (IncorrectCredentialsException e) {
// 密码错误
Integer num = systemLoginService.doLoginPasswordError(loginName, ipAddr);

Loading…
Cancel
Save