Fix ResetPasswordTest
This commit is contained in:
parent
91529ef6fd
commit
7327423a03
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ public class TokenManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void attachClientSession(UserSessionModel session, ClientSessionModel clientSession) {
|
public static void attachClientSession(UserSessionModel session, ClientSessionModel clientSession) {
|
||||||
|
if (clientSession.getUserSession() != null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
UserModel user = session.getUser();
|
UserModel user = session.getUser();
|
||||||
clientSession.setUserSession(session);
|
clientSession.setUserSession(session);
|
||||||
Set<String> requestedRoles = new HashSet<String>();
|
Set<String> requestedRoles = new HashSet<String>();
|
||||||
|
|
Loading…
Reference in a new issue