necouchman commented on a change in pull request #346:
URL: https://github.com/apache/guacamole-client/pull/346#discussion_r517599814
##########
File path: guacamole/src/main/webapp/app/auth/service/authenticationService.js
##########
@@ -290,13 +290,20 @@ angular.module('auth').factory('authenticationService',
['$injector',
var token = service.getCurrentToken();
clearAuthenticationResult();
- // Notify listeners that a token is being destroyed
- $rootScope.$broadcast('guacLogout', token);
+ // Notify listeners that a token is about to be destroyed
+ $rootScope.$broadcast('beforeGuacLogout', token);
Review comment:
@knacktim - I think that's a great idea.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]