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>
|
||||||
<span
|
<span
|
||||||
|
v-if="config"
|
||||||
v-html="
|
v-html="
|
||||||
$t(
|
$t(
|
||||||
'This instance, <b>{instanceName} ({domain})</b>, hosts your profile, so remember its name.',
|
'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_USER_EMAIL,
|
||||||
AUTH_ACCESS_TOKEN,
|
AUTH_ACCESS_TOKEN,
|
||||||
AUTH_REFRESH_TOKEN,
|
AUTH_REFRESH_TOKEN,
|
||||||
|
AUTH_USER_ACTOR_ID,
|
||||||
AUTH_USER_ROLE,
|
AUTH_USER_ROLE,
|
||||||
].forEach((key) => {
|
].forEach((key) => {
|
||||||
localStorage.removeItem(key);
|
localStorage.removeItem(key);
|
||||||
|
|
|
@ -386,6 +386,7 @@ import Subtitle from "../components/Utils/Subtitle.vue";
|
||||||
currentUser: CURRENT_USER_CLIENT,
|
currentUser: CURRENT_USER_CLIENT,
|
||||||
loggedUser: {
|
loggedUser: {
|
||||||
query: USER_SETTINGS,
|
query: USER_SETTINGS,
|
||||||
|
fetchPolicy: "network-only",
|
||||||
skip() {
|
skip() {
|
||||||
return !this.currentUser || this.currentUser.isLoggedIn === false;
|
return !this.currentUser || this.currentUser.isLoggedIn === false;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue