Skip to content

fix: enable signup using invitations when signup closed#1480

Merged
Rakanhf merged 1 commit intomasterfrom
QF-7926-fix-closed-signup-on-invitation
Feb 11, 2026
Merged

fix: enable signup using invitations when signup closed#1480
Rakanhf merged 1 commit intomasterfrom
QF-7926-fix-closed-signup-on-invitation

Conversation

@Rakanhf
Copy link
Contributor

@Rakanhf Rakanhf commented Feb 11, 2026

When AccountAdapterSignUpClosed is set, Invitations don't work. They can be sent out but when the invited user is trying to access the link, they can't signup since it's closed

  • Added a new validation to AccountAdapterSignUpClosed to allow signups on valid invitations
  • Added get_user_signed_up_signal to AccountAdapter so invitations works properly
  • Changed INVITATIONS_ACCEPT_INVITE_AFTER_SIGNUP setting to True to avoid invitation edge cases

When `AccountAdapterSignUpClosed` is set, Invitations don't work. They can be sent out
but when the invited user is trying to access the link, they can't signup since it's closed

- Added a new validation to `AccountAdapterSignUpClosed` to allow signups on valid invitations
- Added `get_user_signed_up_signal` to `AccountAdapter` so invitations works properly
- Changed `INVITATIONS_ACCEPT_INVITE_AFTER_SIGNUP` setting to `True` to avoid invitation edge cases
@duke-nyuki
Copy link
Collaborator

Copy link
Contributor

@toebivankenoebi toebivankenoebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Contributor

@lukasgraf lukasgraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

I would however test signup via SSO again, after this is shipped. First login via SSO is another method of account creation that we have, which should also work when signup is otherwise closed.

@Rakanhf Rakanhf merged commit a090697 into master Feb 11, 2026
21 checks passed
@Rakanhf Rakanhf deleted the QF-7926-fix-closed-signup-on-invitation branch February 11, 2026 16:28
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.

5 participants