fixed init admin for existing but deactivated admin account
This commit is contained in:
parent
d5d119fe7d
commit
6a4924d169
1 changed files with 0 additions and 2 deletions
|
@ -135,8 +135,6 @@ public class UserDAOImpl implements UserDAO {
|
||||||
this.userRecordMapper
|
this.userRecordMapper
|
||||||
.selectByExample()
|
.selectByExample()
|
||||||
.where(UserRecordDynamicSqlSupport.username, isEqualTo(username))
|
.where(UserRecordDynamicSqlSupport.username, isEqualTo(username))
|
||||||
.and(UserRecordDynamicSqlSupport.active,
|
|
||||||
isEqualTo(BooleanUtils.toInteger(true)))
|
|
||||||
.build()
|
.build()
|
||||||
.execute())
|
.execute())
|
||||||
.flatMap(this::sebServerUserFromRecord);
|
.flatMap(this::sebServerUserFromRecord);
|
||||||
|
|
Loading…
Reference in a new issue