jmuehlner commented on code in PR #778:
URL: https://github.com/apache/guacamole-client/pull/778#discussion_r1035328425


##########
guacamole/src/main/frontend/src/app/auth/service/authenticationService.js:
##########
@@ -115,9 +111,10 @@ angular.module('auth').factory('authenticationService', 
['$injector',
             // Always store in cache
             cachedResult = data;
 
-            // Persist result past tab/window closure ONLY if not anonymous
+            // Persist auth token past tab/window closure ONLY if not anonymous
             if (data.username !== AuthenticationResult.ANONYMOUS_USERNAME)
-                localStorageService.setItem(AUTH_STORAGE_KEY, data);
+                localStorageService.setItem(
+                        AUTH_TOKEN_STORAGE_KEY, data.authToken);

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to