Cleaner error message on aborted Passkey operations.

This commit is contained in:
2025-08-07 00:00:23 +00:00
parent 04953c7903
commit 039613a8b3
5 changed files with 30 additions and 25 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ export const useAuthStore = defineStore('auth', {
}
},
selectView() {
if (!store.userInfo) this.currentView = 'login'
else if (store.userInfo?.authenticated) this.currentView = 'profile'
if (!this.userInfo) this.currentView = 'login'
else if (this.userInfo.authenticated) this.currentView = 'profile'
else this.currentView = 'reset'
},
async loadUserInfo() {