From 30feacea318fcd33528b6db3c889803332757825 Mon Sep 17 00:00:00 2001 From: Jeremy Lin Date: Thu, 6 Feb 2020 00:25:13 -0800 Subject: [PATCH] mention SIGNUPS_DOMAINS_WHITELIST --- Disable-registration-of-new-users.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Disable-registration-of-new-users.md b/Disable-registration-of-new-users.md index 551ac5d..0eca93e 100644 --- a/Disable-registration-of-new-users.md +++ b/Disable-registration-of-new-users.md @@ -8,3 +8,10 @@ docker run -d --name bitwarden \ bitwardenrs/server:latest ``` Note: While users can't register on their own, they can still be invited by already registered users. See [[Disable invitations|disable-invitations]] if you also want to disable that. + +You can also disable registration except for email addresses from certain domains. For example: + +* `SIGNUPS_DOMAINS_WHITELIST=example.com` (single domain) +* `SIGNUPS_DOMAINS_WHITELIST=example.com,example.net,example.org` (multiple domains) + +You still need to set `SIGNUPS_ALLOWED=false`. Also, see [#728](https://github.com/dani-garcia/bitwarden_rs/pull/728) for caveats. \ No newline at end of file