mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
GUACAMOLE-526: Explicitly fail routing if attempting to update the auth token fails.
This commit is contained in:
@@ -102,6 +102,10 @@ angular.module('index').config(['$routeProvider', '$locationProvider',
|
|||||||
route.resolve();
|
route.resolve();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
['catch'](function tokenUpdateFailed() {
|
||||||
|
route.reject();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Return promise that will resolve only if the requested page is the
|
// Return promise that will resolve only if the requested page is the
|
||||||
|
Reference in New Issue
Block a user