Closed Adam3371 closed 2 weeks ago
Update
Update
[x] For web-js the logout redirects the user to signup instead of login page
[x] State button have no hover color -> use the same as for socials
[ ] Signup with email (verification and signup) and phone (no verification) stores the phone number as value and phone number as type) instead of email. Backend returns email, in local storage the phone number is stored as value
[ ] Only save user state in local storage if login with identifier is possible (@incorbador): Example: Email verify at first login Phone verify at signup => login only possible with phone (since it's verified) but the in the client state the email is saved.
Side note: since the way to come to the conventional login screen is by the "switch account" button, the user might think that something is wrong with his account. So only save a user-state if we are sure that a login is possible. (e.g. not assume that user will verify email from the welcome email)
Update
Update:
Why
We want to simplify a users login by remembering the identifier of the last successful login and allow the user to login with the saved identifier instead of let the user enter the identifier.
For this feature a design of a new screen was drafted in Figma
TODOS
Implementation idea