mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-1176: Handle insufficient credentials distinctly from invalid credentials.
This commit is contained in:
@@ -160,7 +160,7 @@ angular.module('auth').factory('authenticationService', ['$injector',
|
||||
else if (error.type === Error.Type.INSUFFICIENT_CREDENTIALS)
|
||||
$rootScope.$broadcast('guacInsufficientCredentials', parameters, error.expected);
|
||||
|
||||
authenticationProcess.reject();
|
||||
authenticationProcess.reject(error);
|
||||
});
|
||||
|
||||
return authenticationProcess.promise;
|
||||
|
Reference in New Issue
Block a user