This repository was archived by the owner on Mar 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Authentication #3
Copy link
Copy link
Open
Description
- Create a login panel at
/loginwhere the user is required to authenticate using their username (handle) and password. - Upon a successful login the user should be redirected to a tournaments list.
- Create a top-level component authenticating the user and redirecting them to the login panel in case of an authentication failure (e.g. caused by a session expiry).
- Add a logout button available in every view.
Testing:
- Try to log in to an existing account. Ensure you are redirected to the tournaments list.
- Ensure that logging in to an nonexistent account is impossible.
- Manually change the session token expiration date for one from the past and refresh the page. You should be redirected to the login panel.
- Log out and refresh the page. Ensure you've been successfully logged out.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels