mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 08:50:20 +00:00
feat: login & check user
This commit is contained in:
1 parent
772d66334e
commit
b1a0b607da
10 files changed
+157
-11
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user