feat: simplify phone-first authentication flow

This commit is contained in:
2026-09-28 22:06:42 +03:30
parent 4c969a7c9f
commit b7d5f7bc65
12 changed files with 150 additions and 401 deletions

View File

@@ -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',