fix rememberme for OIDC
This commit is contained in:
parent
14d810a7d0
commit
3607cfa37b
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user