feat: add user authentication flow and configuration management

This commit is contained in:
HorizonCode committed 2025-07-02 11:59:22 +02:00
1 parent ccb755603e
commit c97cfabfa4
7 files changed
+145 -26

No files matched your search

+3 -4
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);