aboutsummaryrefslogtreecommitdiff
path: root/modern/src/login
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2024-03-25 17:27:13 -0700
committerGitHub <noreply@github.com>2024-03-25 17:27:13 -0700
commit393f89503c808b85bf4644ff692cb9ce6c2bb3ed (patch)
tree72b2b5a232f839ed7a53f1cb4fe74340fd58599a /modern/src/login
parent4e513a811f1c6461d1decfbd52d19e2bf9f7b2ba (diff)
parent238bb91194a457b6c17c81a7a7e44ae8e9396aa1 (diff)
downloadtrackermap-web-393f89503c808b85bf4644ff692cb9ce6c2bb3ed.tar.gz
trackermap-web-393f89503c808b85bf4644ff692cb9ce6c2bb3ed.tar.bz2
trackermap-web-393f89503c808b85bf4644ff692cb9ce6c2bb3ed.zip
Merge pull request #1225 from cloudron-io/password-reset-submit
reset password: pressing enter does not submit form
Diffstat (limited to 'modern/src/login')
-rw-r--r--modern/src/login/ResetPasswordPage.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/login/ResetPasswordPage.jsx b/modern/src/login/ResetPasswordPage.jsx
index f2f1a132..d10299ca 100644
--- a/modern/src/login/ResetPasswordPage.jsx
+++ b/modern/src/login/ResetPasswordPage.jsx
@@ -97,6 +97,7 @@ const ResetPasswordPage = () => {
<Button
variant="contained"
color="secondary"
+ type="submit"
onClick={handleSubmit}
disabled={!/(.+)@(.+)\.(.{2,})/.test(email) && !password}
fullWidth