Cleaner error message on aborted Passkey operations.

This commit is contained in:
Leo Vasanko
2025-08-06 12:00:23 -06:00
parent 3c6c9b29f6
commit f96668b135
5 changed files with 30 additions and 25 deletions

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() {