Update Login Endpoints to the new Enpoints made in the backend:
Basic Login:
localhost:8000/auth/login/basic
Email Login:
localhost:8000/auth/login/email
Implement logic to determine which endpoint to use based on the user's inputs.
implement an email input on the registration page and update the request body to be sent.
Add a email verification page to enter a given token from the backend
Add a password reset functionality on the login page to send a request to send an email to the user --> then redirect to a password reset page to enter a given token sent from the backend to the user's email address.
Requirements:
Basic Login: localhost:8000/auth/login/basic Email Login: localhost:8000/auth/login/email Implement logic to determine which endpoint to use based on the user's inputs.