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

Invalidate password reset links on password change #5878

Merged
merged 1 commit into from Aug 2, 2023

Conversation

ThiefMaster
Copy link
Member

Suggested by the UNOG guys, and even though the links are only valid for 1 hour (ie the risk of a stale link being abused is basically zero), it's still better to invalidate them as soon as the password has been changed.

Considering how rare password resets are, and how short-lived those links are, I didn't add any special handling of links created before this change. People getting an error would probably just request a new link anyway.

@ThiefMaster ThiefMaster added this to the v3.3 milestone Aug 2, 2023
@ThiefMaster ThiefMaster enabled auto-merge (squash) August 2, 2023 10:29
@ThiefMaster ThiefMaster merged commit f8a6eaa into indico:master Aug 2, 2023
11 checks passed
@ThiefMaster ThiefMaster deleted the pw-reset-invalidate branch August 2, 2023 10:40
SegiNyn pushed a commit to UNOG-Indico/indico-core that referenced this pull request Aug 2, 2023
OmeGak pushed a commit to UNOG-Indico/indico-core that referenced this pull request Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant