Skip to content

Commit

Permalink
Merge pull request #1225 from cloudron-io/password-reset-submit
Browse files Browse the repository at this point in the history
reset password: pressing enter does not submit form
  • Loading branch information
tananaev authored Mar 26, 2024
2 parents 4e513a8 + 238bb91 commit 393f895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modern/src/login/ResetPasswordPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const ResetPasswordPage = () => {
<Button
variant="contained"
color="secondary"
type="submit"
onClick={handleSubmit}
disabled={!/(.+)@(.+)\.(.{2,})/.test(email) && !password}
fullWidth
Expand Down

0 comments on commit 393f895

Please sign in to comment.