[ARVADOS-WORKBENCH2] updated: 1.3.1-370-ge6774890

Git user git at public.curoverse.com
Mon Feb 25 16:52:02 EST 2019


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

       via  e677489047822fed2dcd48d904ccc46fae5b1615 (commit)
      from  ac687c484aeb0d16d4d2765cad4d64b171398b1e (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 e677489047822fed2dcd48d904ccc46fae5b1615
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Mon Feb 25 16:51:33 2019 -0500

    14841: Don't defer initializing sessions
    
    It breaks tests or something.
    
    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 1654f514..baf80595 100644
--- a/src/store/auth/auth-action.ts
+++ b/src/store/auth/auth-action.ts
@@ -53,9 +53,9 @@ export const initAuth = (config: Config) => (dispatch: Dispatch, getState: () =>
     dispatch(authActions.CONFIG({ config }));
     if (token && user) {
         dispatch(authActions.INIT({ user, token }));
+        dispatch<any>(initSessions(services.authService, config, user));
         dispatch<any>(getUserDetails()).then((user: User) => {
             dispatch(authActions.INIT({ user, token }));
-            dispatch<any>(initSessions(services.authService, config, user));
         });
     }
 };

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list