Open hanlunli opened 7 months ago
Fixed issue and can now login based on the database. IA added some SASS elements, which will be changed later. First draft. Login feature is complete, next is adding the create user option, plus other aspects to user profile.
Added sign up page, a editing user profile. However, Delete is getting many CORS Errors
edit user code form backend, with error handling, made it so that edit user button only edits user if the user has an admin cookie,
When the user logs in, their user id is saved into local storage, then it is retrieved right here. This user id is used to delete the user when the "delete user" button is pressed backend allows any user to delete themselves.
login page for team teach, frontend+backend, add profile elements for funny