diff --git a/guacamole/src/main/webapp/app/index/config/indexRouteConfig.js b/guacamole/src/main/webapp/app/index/config/indexRouteConfig.js index d66226694..47bc48e55 100644 --- a/guacamole/src/main/webapp/app/index/config/indexRouteConfig.js +++ b/guacamole/src/main/webapp/app/index/config/indexRouteConfig.js @@ -102,6 +102,10 @@ angular.module('index').config(['$routeProvider', '$locationProvider', route.resolve(); }); + }) + + ['catch'](function tokenUpdateFailed() { + route.reject(); }); // Return promise that will resolve only if the requested page is the