commit | f3f7a5f0465cf10c135cc9e5040e2dfedf03b685 | [log] [tgz] |
---|---|---|
author | Iftekharul Islam <iislam@us.ibm.com> | Mon Mar 27 13:53:24 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 20 12:41:34 2017 -0500 |
tree | e6e60ae146d19103ca1a3f26f6f34f74097181e1 | |
parent | 890a206a6f75dce67cba7c73b68183ebf56fb0a1 [diff] [blame] |
Added timeout for BMC reboot Change-Id: I376c3578c68535259e4527941b0995394e3d0734 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
diff --git a/app/common/services/apiInterceptor.js b/app/common/services/apiInterceptor.js index 5a715ec..0c75caa 100644 --- a/app/common/services/apiInterceptor.js +++ b/app/common/services/apiInterceptor.js
@@ -38,6 +38,9 @@ 'responseError': function(rejection){ dataService.server_unreachable = true; dataService.loading = false; + if(dataService.path != '/login'){ + $rootScope.$emit('timedout-user', {}); + } return $q.reject(rejection); } };