Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make token expire after certain amount of time #1

Open
MatusMak opened this issue Feb 27, 2021 · 0 comments
Open

Make token expire after certain amount of time #1

MatusMak opened this issue Feb 27, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@MatusMak
Copy link
Owner

As of right now, tokens have infinite expiration time and will only expire if you fail to guess them after several tries. This ticket aims to address this.

Task: make sure token will be invalid one minute after generation.

Notes:

  • Don't use setTimeout
  • Use vanilla JS
  • Make sure different message is being displayed if verification fails due to expired token
  • Don't forget to add code documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant