nuxt-x-auth
ForgotPassword
Password reset request form that shows a success state after the email is sent.
ForgotPassword
The XAuthForgotPassword component renders a single-field form asking for the user's email. After submission it sets emailSent to true and switches to a success message, preventing duplicate sends.
Components
<XAuthForgotPassword />
Place on the /auth/forgot-password page. Works with xAuth.features.forgotPassword.
<XAuthForgotPassword />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
loading | boolean | false | Show a loading state on the submit button |
error | string | null | null | Display an error message above the form |
AI Context
component: XAuthForgotPassword
package: "@xenterprises/nuxt-x-auth"
use-when: Forgot password page — email input that triggers a reset email
