unkey icon indicating copy to clipboard operation
unkey copied to clipboard

Generic Error Icon Displayed Without Message on Email Verification Screen

Open r0x5r opened this issue 4 months ago • 4 comments

Preliminary Checks

  • [X] I have reviewed the documentation: https://unkey.com/docs

  • [X] I have searched for existing issues: https://github.com/unkeyed/unkey/issues

  • [X] This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.

Reproduction / Replay Link (Optional)

No response

Issue Summary

When a user inputs an incorrect or expired email verification code, only a generic error icon is shown without any detailed message explaining the issue. This makes it difficult for users to understand the reason for the error.

Steps to Reproduce

1:- go to this page https://app.unkey.com/settings/user 2:- add other user mail 3:- click on verify 4:- enter false otp

Expected behavior

An appropriate error message should be displayed alongside the icon, such as "Invalid code. Please try again" or "The code has expired. Request a new code."

Other information

Actual Behavior: Only a generic error icon is shown without further explanation.

Screenshots

https://github.com/user-attachments/assets/89f126cc-00c2-44cc-995c-1a846a803c4b

Version info

- OS:
- Node:
- npm:

r0x5r avatar Oct 21 '24 13:10 r0x5r