feat: login & check user

This commit is contained in:
naiba committed 2024-11-03 23:29:32 +08:00
1 parent 772d66334e
commit b1a0b607da
10 files changed
+157 -11

No files matched your search

+1 -1
View File
@@ -2,6 +2,6 @@ import { User } from "./user";
export interface AuthContextProps {
profile: User | undefined;
login: (profile: User | undefined) => void;
login: (username: string, password: string) => void;
logout: () => void;
}