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

Do not accept expired invitation on password reset #897

Merged
merged 1 commit into from Oct 11, 2023
Merged

Do not accept expired invitation on password reset #897

merged 1 commit into from Oct 11, 2023

Conversation

ahukkanen
Copy link
Contributor

The password reset functionality is overridden to always accept the pending invitation on password reset.

This should not happen for expired invitations because this is how the user can circumvent the invitation expiry period which can be a security issue in some contexts.

This PR fixes the issue and adds a test for this case.

@scambra scambra merged commit 8a08437 into scambra:master Oct 11, 2023
55 of 58 checks passed
@ahukkanen ahukkanen deleted the fix/reset-password-expired-invitation branch October 11, 2023 08:17
@ahukkanen
Copy link
Contributor Author

Thank you for merging @scambra !

Would it be possible to roll out a new release so that we could ship this fix more easily?

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

2 participants