We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8e7e69 + 582eac8 commit fda0e07Copy full SHA for fda0e07
src/http-auth-interceptor.js
@@ -42,7 +42,7 @@
42
if (response.status === 401 && !response.config.ignoreAuthModule) {
43
var deferred = $q.defer();
44
httpBuffer.append(response.config, deferred);
45
- $rootScope.$broadcast('event:auth-loginRequired');
+ $rootScope.$broadcast('event:auth-loginRequired', response);
46
return deferred.promise;
47
}
48
// otherwise, default behaviour
0 commit comments