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

Bug/password reset verification #56

Merged
merged 6 commits into from
Oct 30, 2021

Conversation

isopropylcyanide
Copy link
Owner

@isopropylcyanide isopropylcyanide commented Oct 30, 2021

Summary

PR Status Type Impact level
Ready Bug High

Description

This PR adds / changes the following

  • Password reset token request takes "user email" and validate it
  • Password reset token has a "claimed", "active" field and updated at, created at field
  • Validate that password reset token is marked as claimed and marks all active tokens for the user as inactive
  • Junit5 Migration for existing tests + New tests (enhancement)
  • Update README

Motivation & Context

How was this tested

  • Unit tests have been added.

  • Verified that the existing logouts functionality works
    image

  • Verify using the same token results in an error
    image

  • Verify using someone else's token results in an error
    image

  • Verify "claim" and "active" are being set and unset correctly.
    image

@isopropylcyanide isopropylcyanide self-assigned this Oct 30, 2021
@isopropylcyanide isopropylcyanide added the bug Something isn't working label Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant