fix: add type="submit" to forgot password form button (#4910)
The "Send reset email" button was missing type="submit", preventing form submission when clicked. All other auth forms (sign-in, sign-up, OTP) already have this attribute set correctly. Closes #4793
This commit is contained in:
parent
0936e25046
commit
ee9736bbc8
@ -107,7 +107,7 @@ export function ForgotPasswordForm({
|
||||
)}
|
||||
/>
|
||||
|
||||
<Button className='mt-2' disabled={isLoading || isActive}>
|
||||
<Button type='submit' className='mt-2' disabled={isLoading || isActive}>
|
||||
{isActive ? `Resend (${secondsLeft}s)` : 'Send reset email'}
|
||||
{isLoading ? <Loader2 className='animate-spin' /> : <ArrowRight />}
|
||||
</Button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user