feat: simplify phone-first authentication flow
This commit is contained in:
@@ -172,7 +172,7 @@ export interface RegisterOtpVerifySchema {
|
||||
|
||||
export interface OtpSendSchema {
|
||||
mobile: string;
|
||||
mode: "register" | "login" | "reset_password" | "verify_mobile" | "google_claim";
|
||||
mode: "register" | "login" | "verify_mobile" | "google_claim";
|
||||
}
|
||||
|
||||
export interface OtpSendResponseSchema {
|
||||
@@ -194,12 +194,6 @@ export interface MobileLookupSchema {
|
||||
has_password: boolean;
|
||||
}
|
||||
|
||||
export interface PasswordResetSchema {
|
||||
mobile: string;
|
||||
code: string;
|
||||
new_password: string;
|
||||
}
|
||||
|
||||
export interface MobileOtpSendSchema {
|
||||
mobile: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user