Fix ResetPasswordTest

This commit is contained in:
Stian Thorgersen committed 2014-11-04 12:28:36 +01:00
1 parent ea186b51c9
commit b5ce4db1c9
1 file changed
+4
@@ -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>();