-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Remove username from password reset / email verification links #7137
Comments
@davimacedo, @dplewis Do you have any security concerns about this? |
@mtrezza It makes sense to me. I believe we should remove the username from the link. |
If we remove the username from the link for email verification, the following process does not work anymore:
We could either This challenge only exists for email verification, not for password reset. |
I'd go with letter a) |
Okay, I don't understand why the token has to have an expiration date? If we remove that, then we could simply show an invalid link page, it would be the same process as for password reset. |
It sounds like a plan. |
New Feature / Enhancement Checklist
Current Limitation
The link sent in emails to reset the password / verify the email address currently contains the username which
Feature / Enhancement Description
Link should not contain email address of user.
The link already contains the perishable token. The token is enough to identify the user whose password should be reset. The user controller should accept the password reset with just the token. It should not make it less secure, as the link already contains both (username and token) and once the link is exposed as it currently is, the password can be reset.
Example Use Case
Alternatives / Workarounds
3rd Party References
none
The text was updated successfully, but these errors were encountered: