feat:only use email and password register person can change password

This commit is contained in:
lethe committed 2025-07-24 15:27:50 +08:00
1 parent babb007082
commit deb0161a3a
3 files changed
+24 -10

No files matched your search

+6
View File
@@ -4,6 +4,11 @@ interface APIKey {
create_time: number;
apikey_id: string;
}
export enum RegisterType {
EMAIL = "email",
GOOGLE = "google",
INNER = "inner",
}
export interface User {
user_id: string;
user_email: string;
@@ -26,4 +31,5 @@ export interface User {
wallet?: {
balance: number;
};
register_type: RegisterType;
}