From 28ff969d32f0bce0a09b3b045ebb7381d1ef45bc Mon Sep 17 00:00:00 2001 From: James Muehlner Date: Wed, 9 Dec 2015 21:41:47 -0800 Subject: [PATCH] GUAC-1430: Always show connection closed status after authentication update attempt. --- .../main/webapp/app/client/controllers/clientController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/webapp/app/client/controllers/clientController.js b/guacamole/src/main/webapp/app/client/controllers/clientController.js index 572724f41..fd445d1c7 100644 --- a/guacamole/src/main/webapp/app/client/controllers/clientController.js +++ b/guacamole/src/main/webapp/app/client/controllers/clientController.js @@ -441,8 +441,8 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams // Re-authenticate to verify auth status at end of connection authenticationService.updateCurrentToken($location.search()) - // If authentication is OK, show the requested status - .then(function authenticationCheckSuccessful() { + // Show the requested status once the authentication check has finished + ['finally'](function authenticationCheckComplete() { guacNotification.showStatus(status); });