mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-15 12:53:51 +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.isFavoritesLoaded = false;
|
||||
notificationStore.notificationInitStatus = false;
|
||||
await webApiService.clearCookies();
|
||||
await updateStoredUser(userStore.currentUser);
|
||||
webApiService.clearCookies();
|
||||
loginForm.value.lastUserLoggedIn = '';
|
||||
await configRepository.remove('lastUserLoggedIn');
|
||||
// workerTimers.setTimeout(() => location.reload(), 500);
|
||||
|
||||
Reference in New Issue
Block a user