[Story] Create User Sessions #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🧍♂️ User Story
As a User
I want to be able to login
So that I don't need to enter my name for each game.
📋 Description
Create a User DO which contains the name, a password (hashed + salt) and the current session id.
Create a user session which is placed in the cookies of the users browser (overwrite). This can be used to retrieve the user with a PlayerManager.
Change the root route to a main menu where the user can enter their username and password.
For now implement a stub PlayerManager with a Set as Users.
🎯 Acceptance Criteria
🧱 Implementation Notes
🧵 Linked Issues
Switched to Argon2 for Hashing