mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
Signup Domain Whitelist doesn't work #1737
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AKDingfeld on GitHub.
Subject of the issue
I can register accounts from domains that are not set on my whitelist in docker-compose file or admin-center.
Your environment
Steps to reproduce
I added
- SIGNUPS_DOMAINS_WHITELIST=mydomain.orgas environment variable to my docker-compose file. After restart i tried to register new accounts using the normal register form. I Tried some E-Mails like test@notmydomain.orgI added some domains in the whitelist in the admin-center with the same result.
Expected behaviour
The registration should be blocked due to the whitelist.
Actual behaviour
The registration worked.
Relevant logs
@jjlin commented on GitHub:
Most likely you also need to set
SIGNUPS_ALLOWED=false, as mentioned in https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users.#957 should avoid this confusion, though.
@dani-garcia commented on GitHub:
Closed due to inactivity.