better UX when resetting pw

This commit is contained in:
jackiettran
2025-12-29 00:38:10 -05:00
parent e153614993
commit ac1e22f194
3 changed files with 23 additions and 8 deletions

View File

@@ -140,6 +140,15 @@ const ResetPassword: React.FC = () => {
<h5 className="mt-3">Invalid Reset Link</h5>
<p className="text-danger">{error}</p>
<div className="mt-3">
<button
className="btn btn-primary me-2"
onClick={() => {
navigate('/', { replace: true });
openAuthModal('forgot-password');
}}
>
Request New Link
</button>
<Link to="/" className="btn btn-outline-secondary">
Return to Home
</Link>