-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
feat(mongo)!: ttl for reset password tokens #1081
base: master
Are you sure you want to change the base?
Conversation
I am not really happy with this approach, would be better if the password module sends the expiration date for the token, will try with another approach. Edit: solved |
Codecov Report
@@ Coverage Diff @@
## master #1081 +/- ##
==========================================
- Coverage 95.53% 95.50% -0.03%
==========================================
Files 93 93
Lines 2150 2159 +9
Branches 424 426 +2
==========================================
+ Hits 2054 2062 +8
- Misses 94 95 +1
Partials 2 2
Continue to review full report at Codecov.
|
bdf442b
to
3e57ec8
Compare
BREAKING CHANGE: Upgrading to this version will invalidate all the existing reset password tokens.
Once you updated the dependency in your project and deployed your server, to cleanup the database and remove the old reset password tokens run:
Related to #935