SkygearIO / skygear-server

Skygear - an open source serverless platform for modern secure app development
https://skygear.io
Apache License 2.0
408 stars 84 forks source link

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

Open keithtkl opened 4 years ago

keithtkl commented 4 years ago

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

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
louischan-oursky commented 4 years ago

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

kiootic commented 4 years ago

Can we use traditional flash message for errors?

louischan-oursky commented 4 years ago

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