fixed init admin for existing but deactivated admin account

This commit is contained in:
anhefti 2022-10-20 08:40:43 +02:00
parent d5d119fe7d
commit 6a4924d169

View file

@ -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);