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
1 parent 27f2448 commit 582eac8Copy full SHA for 582eac8
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', response.config);
+ $rootScope.$broadcast('event:auth-loginRequired', response);
46
return deferred.promise;
47
}
48
// otherwise, default behaviour
0 commit comments