network
network copied to clipboard
Order of buttons is inconsistent for Login code flow
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
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
- 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?
None
In which environment are you deploying?
None
Additional Context
No response
Thanks, we will take a look.
This is no longer an issue in the new Account Experience and @ory/elements-react.