Skip to content

Commit

Permalink
Merge pull request #4 from lerrua/master
Browse files Browse the repository at this point in the history
Fix deprecated interceptors response in auth.js
  • Loading branch information
Ayrton Araújo committed Jul 7, 2015
2 parents 5b43df5 + b5b9498 commit c1a81c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/app/scripts/auth/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var auth = angular.module('miningApp.auth', [])
};
}];

$httpProvider.responseInterceptors.push(logsOutUserOn401);
$httpProvider.interceptors.push(logsOutUserOn401);
}])
.run(['$rootScope', '$location', 'AuthenticationService', 'getCurrentUser', 'AlertService', 'newUser',
function ($rootScope, $location, AuthenticationService, getCurrentUser, AlertService, newUser) {
Expand Down

0 comments on commit c1a81c0

Please sign in to comment.