GUAC-807 Fixed login page error, minify button usage, and menu initial state.

This commit is contained in:
James Muehlner committed 2014-11-05 22:41:46 -08:00
1 parent fa68aa7d80
commit 4c34220c65
3 files changed
+3 -6

No files matched your search

@@ -31,7 +31,7 @@ angular.module('index').factory('authenticationInterceptor', ['$location', '$q',
'responseError': function(rejection) {
// Do not redirect failed login requests to the login page.
if ((rejection.status === 401 || rejection.status === 403)
&& rejection.config.url.search('api/login') === -1) {
&& rejection.config.url.search('api/token') === -1) {
$location.path('/login');
}
return $q.reject(rejection);