Skip to content

Commit

Permalink
fix: add submit to sms mfa flow (#3838)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludtkemorgan authored Jan 26, 2024
1 parent e3305e4 commit 0961242
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sites/partners/src/components/users/FormSignInAddPhone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const FormSignInAddPhone = ({
/>

<div className="text-center mt-10">
<Button variant="primary" id="request-mfa-code-and-add-phone">
<Button type="submit" variant="primary" id="request-mfa-code-and-add-phone">
{t("nav.signInMFA.addPhoneNumber")}
</Button>
</div>
Expand Down
7 changes: 6 additions & 1 deletion sites/partners/src/components/users/FormSignInMFAType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ const FormSignInMFAType = ({
</div>
{process.env.showSmsMfa && (
<div className="text-center mt-6">
<Button variant="primary-outlined" id="verify-by-phone" onClick={smsOnClick}>
<Button
type="submit"
variant="primary-outlined"
id="verify-by-phone"
onClick={smsOnClick}
>
{t("nav.signInMFA.verifyByPhone")}
</Button>
</div>
Expand Down

0 comments on commit 0961242

Please sign in to comment.