Major cleanup and refactoring of the backend (frontend not fully updated).

This commit is contained in:
2025-08-02 00:32:27 +00:00
parent f86406b4d4
commit 9b82f77729
16 changed files with 451 additions and 920 deletions
+6 -1
View File
@@ -22,7 +22,12 @@ import AddCredentialView from '@/components/AddCredentialView.vue'
const store = useAuthStore()
onMounted(async () => {
// Check for device addition session first
// Was an error message passed in the URL?
const message = location.hash.substring(1)
if (message) {
store.showMessage(decodeURIComponent(message), 'error')
history.replaceState(null, '', location.pathname)
}
try {
await store.loadUserInfo()
} catch (error) {