修改登录页
This commit is contained in:
parent
f7f3e2dc46
commit
e9e1bad6a5
@ -49,7 +49,7 @@ public class LoginPhoneAuthFilter extends AbstractAuthenticationProcessingFilter
|
||||
* 查到用户
|
||||
*/
|
||||
UserPO userPO = iUserService.getPOByUsername(phone);
|
||||
if (userPO != null && userPO.getUserState().equals("1")) {
|
||||
if (userPO != null && userPO.getUserState() == 1) {
|
||||
iUserService.updateUserState(userPO.getUserId(), UserStateEnum.NORMAL);
|
||||
}
|
||||
LoginPhoneAuthToken loginPhoneAuthToken = new LoginPhoneAuthToken(phone, null);
|
||||
|
Loading…
Reference in New Issue
Block a user