Continue finalising security. Fix issues with login in web.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / auth / UserAdminLoginModule.java
index 52a90c7a5eed86bc2f2eb5b1827b9386721cc05d..515f4dc0daee943e880b740f01bb69e9027b2c07 100644 (file)
@@ -111,8 +111,8 @@ public class UserAdminLoginModule implements LoginModule, AuthConstants {
                                }
                        }
                }
-               // if (!sharedState.containsKey(SHARED_STATE_AUTHORIZATION))
-               // sharedState.put(SHARED_STATE_AUTHORIZATION, authorization);
+               if (!sharedState.containsKey(SHARED_STATE_AUTHORIZATION))
+                       sharedState.put(SHARED_STATE_AUTHORIZATION, authorization);
                return authorization != null;
        }