When user is asked to submit the login code flow for the first time, the order of the button is Continue, followed by Resend Code
But after submitting, when the code is invalid, the button order is reversed
Prefer to have the Continue button to remain as the first button because if user presses the Enter key for the second screenshot, it will resend the code again instead of submitting the new code.
Reproducing the bug
Login with code
Submit an invalid code
Relevant log output
No response
Relevant configuration
No response
Version
Cloud
On which operating system are you observing this issue?
Preflight checklist
Ory Network Project
https://adoring-rubin-cbdddjiw91.projects.oryapis.com
Describe the bug
When user is asked to submit the login code flow for the first time, the order of the button is Continue, followed by Resend Code
But after submitting, when the code is invalid, the button order is reversed
Prefer to have the Continue button to remain as the first button because if user presses the Enter key for the second screenshot, it will resend the code again instead of submitting the new code.
Reproducing the bug
Relevant log output
No response
Relevant configuration
No response
Version
Cloud
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response