SkygearIO/skygear-server

[Auth UI] "Invalid Credentials" error message persists when back from the verification page

keithtkl opened this issue · 3 comments

"Invalid credentials" message shown if an user inputted an incorrect code, but the error message persists when back to the previous page

  • Skygear Server Date/Version: Not sure
  • Application Platform: Tested on Rees

Expected Results

The error message should dismiss when back to the email / phone number input page

Actual Results

The error message still shown when back to email / phone number input page

Steps to reproduce

  1. Open signup / login page
  2. Select email / phone number
  3. On verification page, input an incorrect code
  4. Back to the previous step when see the error message
  5. See the error message persist on the email / phone number input page

One solution is the pop the error when it is read once.

Can we use traditional flash message for errors?

I guess you are refering to this? This is cookie based.