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

Prevent accepting another user invitation #5404

Closed
wants to merge 1 commit into from

Conversation

Timshel
Copy link
Contributor

@Timshel Timshel commented Jan 17, 2025

With the change around the invitation remembered that it was possible to accept another user invitation if you have the link.

Since the accept_invite is done after the user is logged it's possible to use the header guards and ensure the correct user is making the call.

Note on the error message the popup title already include Unable to accept invitation, so just used a short error message.

Might be easier to just integrate the change in #5403 or I'll just rebase afterward.

@Timshel Timshel mentioned this pull request Jan 17, 2025
@Timshel Timshel closed this Jan 17, 2025
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.

1 participant