Function: requestContractorPasswordReset()
requestContractorPasswordReset(
_prev,formData):Promise<ResetRequestState>
Defined in: src/server/actions/contractor-auth.ts:169
Public action: a contractor requests a password-reset email. Always reports success (never
reveals whether an email is registered). Supabase sends a recovery link back to the
/api/auth/contractor-recovery route, which establishes a session and lands them on the
set-new-password page. Requires Supabase Auth email (SMTP) to be configured to deliver mail.
Parameters
_prev
formData
FormData
Returns
Promise<ResetRequestState>