Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Authentication #3

@Mateusz-Dobrzynski

Description

@Mateusz-Dobrzynski
  • 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions