feat: simplify phone-first authentication flow
This commit is contained in:
@@ -207,13 +207,6 @@ class ApiClient {
|
||||
});
|
||||
}
|
||||
|
||||
async resetPassword(data: Types.PasswordResetSchema) {
|
||||
return this.request<Types.MessageSchema>('/api/auth/reset-password', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
}
|
||||
|
||||
async sendMobileVerificationOtp(data: Types.MobileOtpSendSchema) {
|
||||
return this.request<Types.OtpSendResponseSchema>('/api/auth/mobile/send-otp', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user