From 9d63765f1542fdd711bcd4aeb7b79df2bcae048a Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Tue, 3 Nov 2015 12:53:42 -0800 Subject: [PATCH] merged working with dev branch --- public/modules/users/config/users.client.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/modules/users/config/users.client.config.js b/public/modules/users/config/users.client.config.js index d67ef8da..e10ab9e0 100755 --- a/public/modules/users/config/users.client.config.js +++ b/public/modules/users/config/users.client.config.js @@ -8,7 +8,7 @@ angular.module('users').config(['$httpProvider', responseError: function(response) { // console.log($location.path()); if( $location.path() !== '/users/me' && $location.path() !== '/forms' && response.config){ - if(response.config.url !== '/users/me' && $location.path() !== '/forms'){ + if(response.config.url !== '/users/me' && response.config.url !== '/forms'){ console.log('intercepted rejection of ', response.config.url, response.status); if (response.status === 401) { // save the current location so that login can redirect back