ory / network

Ory runs a global end-to-end security infrastructure for humans, robots, and servers. We build and use open source software.
Apache License 2.0
81 stars 6 forks source link

Order of buttons is inconsistent for Login code flow #395

Open aliciacyy opened 2 months ago

aliciacyy commented 2 months ago

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

image

But after submitting, when the code is invalid, the button order is reversed

image

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

  1. Login with code
  2. 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

jonas-jonas commented 2 months ago

Thanks, we will take a look.