Improve auth UX and password strength across dashboards.
Remove business self-registration, localize SMS/auth errors, add password strength + confirm on reset/signup, and brand customer role as website user. Also include websites SSL sync UI updates. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
656fc57494
commit
aeaad0f645
@@ -65,10 +65,10 @@ export async function changePassword(currentPassword: string, newPassword: strin
|
||||
})
|
||||
}
|
||||
|
||||
export async function sendOtp(cellNumber: string) {
|
||||
export async function sendOtp(cellNumber: string, domain?: string) {
|
||||
return apiRequest<OtpSendResponse>('/auth/send-otp', {
|
||||
method: 'POST',
|
||||
body: { cellNumber },
|
||||
body: domain ? { cellNumber, domain } : { cellNumber },
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user