feat: add user authentication flow and configuration management

This commit is contained in:
2025-07-02 11:59:22 +02:00
parent ccb755603e
commit c97cfabfa4
7 changed files with 145 additions and 26 deletions

View File

@@ -1,7 +1,6 @@
import { writable } from 'svelte/store';
import { Config } from './config';
import type { EZPPUser } from './types';
export const userAuth = writable<Config>(new Config(true));
export const username = writable<string>("");
export const password = writable<string>("")
export const userAuth = writable<Config>(new Config("user_auth", true));
export const currentUser = writable<EZPPUser | undefined>(undefined);