From ba075c19730ae68065e5e3f1b2ce464b9b7243a9 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 20 Aug 2021 18:48:23 +0200 Subject: [PATCH 1/2] Fix config onboarding after LDAP initial connexion Closes #840 Signed-off-by: Thomas Citharel --- js/src/components/Account/ProfileOnboarding.vue | 1 + js/src/views/Home.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/js/src/components/Account/ProfileOnboarding.vue b/js/src/components/Account/ProfileOnboarding.vue index 5f59e751d..43448fc1b 100644 --- a/js/src/components/Account/ProfileOnboarding.vue +++ b/js/src/components/Account/ProfileOnboarding.vue @@ -21,6 +21,7 @@ }} Date: Fri, 20 Aug 2021 18:48:40 +0200 Subject: [PATCH 2/2] Delete current actor ID as well from local storage when unlogging Signed-off-by: Thomas Citharel --- js/src/utils/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/utils/auth.ts b/js/src/utils/auth.ts index 4c61a87a5..534456782 100644 --- a/js/src/utils/auth.ts +++ b/js/src/utils/auth.ts @@ -47,6 +47,7 @@ export function deleteUserData(): void { AUTH_USER_EMAIL, AUTH_ACCESS_TOKEN, AUTH_REFRESH_TOKEN, + AUTH_USER_ACTOR_ID, AUTH_USER_ROLE, ].forEach((key) => { localStorage.removeItem(key);