mirror of https://gitee.com/maxjhandsome/pig
fixed: 账户失效问题
This commit is contained in:
parent
b4c3286578
commit
0c2a413c28
|
@ -67,7 +67,7 @@ public class UserDetailsImpl implements UserDetails {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEnabled() {
|
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) {
|
public void setUsername(String username) {
|
||||||
|
|
Loading…
Reference in New Issue