Fix ResetPasswordTest

This commit is contained in:
Stian Thorgersen 2014-11-04 12:28:36 +01:00
parent 91529ef6fd
commit 7327423a03

View file

@ -124,6 +124,10 @@ public class TokenManager {
}
public static void attachClientSession(UserSessionModel session, ClientSessionModel clientSession) {
if (clientSession.getUserSession() != null) {
return;
}
UserModel user = session.getUser();
clientSession.setUserSession(session);
Set<String> requestedRoles = new HashSet<String>();