skygear-server icon indicating copy to clipboard operation
skygear-server copied to clipboard

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

Open keithtkl opened this issue 4 years ago • 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

keithtkl avatar Jun 05 '20 04:06 keithtkl

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

louischan-oursky avatar Jun 05 '20 09:06 louischan-oursky

Can we use traditional flash message for errors?

kiootic avatar Jun 05 '20 09:06 kiootic

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

louischan-oursky avatar Jun 05 '20 10:06 louischan-oursky