mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Clear cookie before saving user cookie
This commit is contained in:
@@ -173,8 +173,8 @@ export const useAuthStore = defineStore('Auth', () => {
|
|||||||
watchState.isFriendsLoaded = false;
|
watchState.isFriendsLoaded = false;
|
||||||
watchState.isFavoritesLoaded = false;
|
watchState.isFavoritesLoaded = false;
|
||||||
notificationStore.notificationInitStatus = false;
|
notificationStore.notificationInitStatus = false;
|
||||||
|
await webApiService.clearCookies();
|
||||||
await updateStoredUser(userStore.currentUser);
|
await updateStoredUser(userStore.currentUser);
|
||||||
webApiService.clearCookies();
|
|
||||||
loginForm.value.lastUserLoggedIn = '';
|
loginForm.value.lastUserLoggedIn = '';
|
||||||
await configRepository.remove('lastUserLoggedIn');
|
await configRepository.remove('lastUserLoggedIn');
|
||||||
// workerTimers.setTimeout(() => location.reload(), 500);
|
// workerTimers.setTimeout(() => location.reload(), 500);
|
||||||
|
|||||||
Reference in New Issue
Block a user