[ARVADOS-WORKBENCH2] updated: 1.3.1-449-g276af501

Git user git at public.curoverse.com
Mon May 13 18:53:07 UTC 2019


Summary of changes:
 src/store/auth/auth-action.ts | 2 ++
 1 file changed, 2 insertions(+)

       via  276af50119307b73027c939308ac6eabf4d86a8b (commit)
      from  825b555f06eb9dfb987dee1d072bba6874552a8a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 276af50119307b73027c939308ac6eabf4d86a8b
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Mon May 13 14:37:33 2019 -0400

    15064: If initializing auth fails, go back to login screen.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/src/store/auth/auth-action.ts b/src/store/auth/auth-action.ts
index 1605e302..9d76e499 100644
--- a/src/store/auth/auth-action.ts
+++ b/src/store/auth/auth-action.ts
@@ -58,6 +58,8 @@ export const initAuth = (config: Config) => (dispatch: Dispatch, getState: () =>
         dispatch<any>(initSessions(services.authService, config, user));
         dispatch<any>(getUserDetails()).then((user: User) => {
             dispatch(authActions.INIT({ user, token }));
+        }).catch(() => {
+            logout()(dispatch, getState, services);
         });
     }
     Object.keys(config.remoteHosts).map((k) => {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list