GUAC-1176: Handle insufficient credentials distinctly from invalid credentials.

This commit is contained in:
Michael Jumper committed 2015-06-08 14:33:43 -07:00
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;