Impossible to register an account if the email address is already invited in an organization #1242

Closed
opened 2025-11-07 07:01:32 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ghost on GitHub (Mar 25, 2022).

Subject of the issue

Context : When an email address is invited in an organization but there his no account register with this email, it is not possible to create an account with this email anymore, even if there is no account registered.

Deployment environment

  • vaultwarden version: Version 2.25.1
  • Install method:
    Installed manually

  • Clients used: web vault

  • Other relevant details:

Steps to reproduce

Step 1 : Invite an email address in an organization with an email which isn't already used in a Vaultwarden account.
Step 2 : Try to register the account with the same email.

Expected behavior

It is possible to create an account even if there are already sent invitation for him and resent the organization email invitation after the creation.

Actual behavior

It is not possible to create an account even if there are already sent invitation for him.

Originally created by @ghost on GitHub (Mar 25, 2022). ### Subject of the issue Context : When an email address is invited in an organization but there his no account register with this email, it is not possible to create an account with this email anymore, even if there is no account registered. ### Deployment environment <!-- ========================================================================================= Preferably, use the `Generate Support String` button on the admin page's Diagnostics tab. That will auto-generate most of the info requested in this section. ========================================================================================= --> <!-- The version number, obtained from the logs (at startup) or the admin diagnostics page --> <!-- This is NOT the version number shown on the web vault, which is versioned separately from vaultwarden --> <!-- Remember to check if your issue exists on the latest version first! --> * vaultwarden version: Version 2.25.1 <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * Install method: Installed manually * Clients used: web vault * Other relevant details: ### Steps to reproduce Step 1 : Invite an email address in an organization with an email which isn't already used in a Vaultwarden account. Step 2 : Try to register the account with the same email. ### Expected behavior It is possible to create an account even if there are already sent invitation for him and resent the organization email invitation after the creation. ### Actual behavior It is not possible to create an account even if there are already sent invitation for him.
Author
Owner

@BlackDex commented on GitHub (Mar 25, 2022):

Works fine for me.
Just as a note, if someone is invited via the organization manage tab, they need to click on the link which they received in the mailbox. That link contains a token which is validated. Without that token you are not allowed to create an account.

@BlackDex commented on GitHub (Mar 25, 2022): Works fine for me. Just as a note, if someone is invited via the organization manage tab, they need to click on the link which they received in the mailbox. That link contains a token which is validated. Without that token you are not allowed to create an account.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#1242