fixed: 账户失效问题

This commit is contained in:
wangiegie@gmail.com 2017-12-30 18:39:53 +08:00
parent b4c3286578
commit 0c2a413c28
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class UserDetailsImpl implements UserDetails {
@Override
public boolean isEnabled() {
return StringUtils.equals(CommonConstant.STATUS_NORMAL, status) ? false : true;
return StringUtils.equals(CommonConstant.STATUS_NORMAL, status) ? true : false;
}
public void setUsername(String username) {