mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 01:01:49 +10:00
feat: send forgot password email
This commit is contained in:
@ -51,8 +51,6 @@ export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
|
||||
email,
|
||||
});
|
||||
|
||||
reset();
|
||||
|
||||
toast({
|
||||
title: 'Password updated',
|
||||
description: 'Your password has been updated successfully.',
|
||||
@ -63,6 +61,7 @@ export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
|
||||
setTimeout(resolve, 2000);
|
||||
});
|
||||
|
||||
reset();
|
||||
router.push('/check-email');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user