improved registration page and added account page

This commit is contained in:
2026-01-03 14:22:21 +01:00
parent d96cc39a65
commit f3a2c98643
11 changed files with 166 additions and 60 deletions

View File

@@ -18,7 +18,8 @@ export async function login(email: string, username: string, password: string) {
let user: User = {
uuid: res.uuid,
username: username
username: res.username,
email: res.email
};
await authStore.saveAuthData(res.token, user)
return { token: res.token, uuid: res.uuid, isAuthenticated: true }