Checkpoint, fixing reset token handling broken in earlier edits.

This commit is contained in:
2025-08-06 21:55:14 +00:00
parent 1440727955
commit c8bb2ab12e
11 changed files with 392 additions and 170 deletions
+1 -2
View File
@@ -46,13 +46,12 @@ export const useAuthStore = defineStore('auth', {
try {
const result = await registerUser(user_name)
await this.setSessionCookie(result.session_token)
this.currentUser = {
user_id: result.user_id,
user_name: user_name,
}
await this.setSessionCookie(result.session_token)
return result
} finally {
this.isLoading = false