You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/04/29 20:58:46 UTC

[04/19] guacamole-client git commit: GUACAMOLE-526: Explicitly fail routing if attempting to update the auth token fails.

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

Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/bba01bdb
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/bba01bdb
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/bba01bdb

Branch: refs/heads/master
Commit: bba01bdbc45c74d4b8aafc59223bd16cf2bf5392
Parents: 6cd0705
Author: Michael Jumper <mj...@apache.org>
Authored: Tue Apr 24 15:27:18 2018 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Thu Apr 26 18:51:46 2018 -0700

----------------------------------------------------------------------
 guacamole/src/main/webapp/app/index/config/indexRouteConfig.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/bba01bdb/guacamole/src/main/webapp/app/index/config/indexRouteConfig.js
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/index/config/indexRouteConfig.js b/guacamole/src/main/webapp/app/index/config/indexRouteConfig.js
index d662266..47bc48e 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