Skip to content

Commit ea8c4ed

Browse files
chore: fix on submit for OTP
1 parent 2c46548 commit ea8c4ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/js/login/components/otp_input_form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const OTPInputForm = ({
3131
<form
3232
method="post"
3333
action={formAction}
34-
onSubmit={(ev) => {ev.preventDefault(); onAuthenticate(ev.target)}}
34+
onSubmit={(ev) => onAuthenticate(ev.target)}
3535
target="_self"
3636
className={styles.otp_form}
3737
>

0 commit comments

Comments
 (0)