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
{{ message }}
This repository was archived by the owner on Mar 14, 2025. It is now read-only.
Create a login panel at /login where 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.