From d6139bb02e65e055b37080d3e79eb15a57c44510 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 28 Aug 2015 14:17:55 -0700 Subject: [PATCH] GUAC-586: Fix getAvailableDataSources(). --- .../main/webapp/app/auth/service/authenticationService.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/guacamole/src/main/webapp/app/auth/service/authenticationService.js b/guacamole/src/main/webapp/app/auth/service/authenticationService.js index 8c17cbea2..6493cc2a5 100644 --- a/guacamole/src/main/webapp/app/auth/service/authenticationService.js +++ b/guacamole/src/main/webapp/app/auth/service/authenticationService.js @@ -99,9 +99,10 @@ angular.module('auth').factory('authenticationService', ['$injector', // Store auth data $cookieStore.put(AUTH_COOKIE_ID, { - authToken : data.authToken, - username : data.username, - dataSource : data.dataSource + 'authToken' : data.authToken, + 'username' : data.username, + 'dataSource' : data.dataSource, + 'availableDataSources' : data.availableDataSources }); // Process is complete