Fix : switch to localStorage for persistent session data
release-tag / release-image (push) Successful in 32s
release-tag / release-image (push) Successful in 32s
This commit is contained in:
+4
-2
@@ -15,11 +15,13 @@ export const useAuthStore = defineStore("auth", {
|
||||
});
|
||||
|
||||
Object.assign(this.selfUser, data.value);
|
||||
} catch (e) { }
|
||||
} catch (e) {}
|
||||
},
|
||||
oauth2_register_discord: () => {
|
||||
throw Error("not implemented");
|
||||
},
|
||||
},
|
||||
persist: true
|
||||
persist: {
|
||||
storage: persistedState.localStorage,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user