GUACAMOLE-526: Explicitly fail routing if attempting to update the auth token fails.

This commit is contained in:
Michael Jumper committed 2018-04-26 18:51:46 -07:00
1 parent 6cd07052d8
commit bba01bdbc4
1 file changed
+4
@@ -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