Skip to content

Bug: Verification loading state not reset after failure #184

@amandayu255

Description

@amandayu255

Description
The loading circle does not trigger after two separate incorrect verification code attempts. This happens because the verification state is not fully reset after a failed attempt, so the UI does not return to the proper loading state on subsequent tries.

Acceptance Criteria
The loading circle should appear every time the user submits a verification code, even after previous failed attempts.

Steps:

  • Enter an incorrect verification code and submit
  • Observe the loading circle appears, then the request fails
  • Enter an incorrect verification code again and submit
  • The loading circle should appear again before showing the error
  • The verification state should be fully reset after each failed attempt

Additional Information
Add any other context or screenshots about the feature request here.

  • This seems to be caused by the verification state not being reset after a failed attempt, which prevents the loading indicator from triggering on subsequent submissions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions