better UX when resetting pw

This commit is contained in:
jackiettran committed 2025-12-29 00:38:10 -05:00
1 parent e153614993
commit ac1e22f194
3 files changed
+23 -8

No files matched your search

+9
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>