better UX when resetting pw
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user