[ARVADOS-WORKBENCH2] updated: 1.3.0-330-g1b36bef0

Git user git at public.curoverse.com
Thu Jan 3 06:00:16 EST 2019


Summary of changes:
 src/store/users/users-actions.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  1b36bef0eadb1ee358e0ab7bf53e13cb6b7ed812 (commit)
      from  789db184c88781fca23f769403003a7ce7715f5d (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 1b36bef0eadb1ee358e0ab7bf53e13cb6b7ed812
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Thu Jan 3 12:00:07 2019 +0100

    refs #14565-login
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/store/users/users-actions.ts b/src/store/users/users-actions.ts
index 403e55ee..eec1ebbd 100644
--- a/src/store/users/users-actions.ts
+++ b/src/store/users/users-actions.ts
@@ -52,8 +52,8 @@ export const openSetupShellAccount = (uuid: string) =>
 export const loginAs = (uuid: string) =>
     async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
         const client = await services.apiClientAuthorizationService.create({ ownerUuid: uuid });
-        dispatch<any>(saveApiToken(client.apiToken));
-        location.reload();
+        dispatch<any>(saveApiToken(`v2/${client.uuid}/${client.apiToken}`));
+        await location.reload();
         dispatch<any>(getUserDetails()).then(() => {
             dispatch<any>(navigateToRootProject);
         });

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list