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.
response.config
loginRequired
1 parent e8e7e69 commit 27f2448Copy full SHA for 27f2448
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.config);
46
return deferred.promise;
47
}
48
// otherwise, default behaviour
0 commit comments