I will really appreciate some help with my log in logic. I keep getting the wrong email/password toast when log in is tabbed. Guessing something is not OK with set app variable or the set item to storage. I am using the client side storage
Regarding the “set app variable”, my variable name is authuser with properties email, id and password.
For ‘‘set item to storage’’, I created a client side data resource called persistent user with properties id, token and expires. The item key is persistent user but I could not bind persistent user to the item key because of compatibility issues. authuser is the data to store in this case. I would really appreciate some help, been struggling with this for sometime. Thanks