forked from potsda.mn/mobilizon
Merge branch 'fix-config-onboarding-after-ldap' into 'master'
Fix config onboarding after LDAP initial connexion Closes #840 See merge request framasoft/mobilizon!1045
This commit is contained in:
commit
d35041bd4c
|
@ -21,6 +21,7 @@
|
|||
}}
|
||||
</span>
|
||||
<span
|
||||
v-if="config"
|
||||
v-html="
|
||||
$t(
|
||||
'This instance, <b>{instanceName} ({domain})</b>, hosts your profile, so remember its name.',
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -386,6 +386,7 @@ import Subtitle from "../components/Utils/Subtitle.vue";
|
|||
currentUser: CURRENT_USER_CLIENT,
|
||||
loggedUser: {
|
||||
query: USER_SETTINGS,
|
||||
fetchPolicy: "network-only",
|
||||
skip() {
|
||||
return !this.currentUser || this.currentUser.isLoggedIn === false;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue