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
|
||||
.selectByExample()
|
||||
.where(UserRecordDynamicSqlSupport.username, isEqualTo(username))
|
||||
.and(UserRecordDynamicSqlSupport.active,
|
||||
isEqualTo(BooleanUtils.toInteger(true)))
|
||||
.build()
|
||||
.execute())
|
||||
.flatMap(this::sebServerUserFromRecord);
|
||||
|
|
Loading…
Reference in a new issue