mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	GUAC-919: Take user to login page upon logout even if logout fails (which only happens if they are already logged out).
This commit is contained in:
		| @@ -89,7 +89,7 @@ angular.module('index').controller('indexController', ['$scope', '$injector', | ||||
|  | ||||
|     // Provide simple mechanism for logging out the current user | ||||
|     $scope.logout = function logout() { | ||||
|         authenticationService.logout().success(function logoutSuccess() { | ||||
|         authenticationService.logout()['finally'](function logoutComplete() { | ||||
|             $location.path('/login'); | ||||
|         }); | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user