You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The User should be able to login in with the Username or E-Mail and your password
After the clicks on Login in there should be an Request to the Serverside which contains username / Email and the password use Post '/userlogin' (could change)
You should receive a boolean if login in worked, A Message which gives back the Status (Email wrong etc) and the User Object
You should then handle the Statusmessage and if the Login worked you should safe the UserID and log in user to his acc
The User should be able to login in with the Username or E-Mail and your password
After the clicks on Login in there should be an Request to the Serverside which contains username / Email and the password use Post '/userlogin' (could change)
You should receive a boolean if login in worked, A Message which gives back the Status (Email wrong etc) and the User Object
You should then handle the Statusmessage and if the Login worked you should safe the UserID and log in user to his acc