fix rememberme for OIDC

This commit is contained in:
_Bastler 2021-10-04 19:58:22 +02:00
parent 14d810a7d0
commit 3607cfa37b

View File

@ -96,7 +96,13 @@ public class UserManager implements UserDetailsService, SmartInitializingSinglet
}
}
return new User(username, localUser.getPasswordHash(), authorities);
String passwordHash = localUser.getPasswordHash();
if (passwordHash == null) {
passwordHash = "";
}
return new User(username, passwordHash, authorities);
}
/*