GUAC-1176: Handle insufficient credentials distinctly from invalid credentials.
This commit is contained in:
1 parent
542c87d631
commit
7a3503a40e
5 files changed
+78
-13
No files matched your search
@@ -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