From 2fea5db737ffada478048d5e3f8990e7105c9513 Mon Sep 17 00:00:00 2001 From: docgalaxyblock Date: Sun, 10 Mar 2024 19:05:41 +0100 Subject: [PATCH] cosmetic changes --- Disable-registration-of-new-users.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Disable-registration-of-new-users.md b/Disable-registration-of-new-users.md index 5f0bc44..ab9bc3b 100644 --- a/Disable-registration-of-new-users.md +++ b/Disable-registration-of-new-users.md @@ -1,6 +1,6 @@ By default, anyone who can access your instance can register for a new account. To disable this, set the `SIGNUPS_ALLOWED` env variable to `false`: -```sh +```bash docker run -d --name bitwarden \ -e SIGNUPS_ALLOWED=false \ -v /vw-data/:/data/ \ @@ -21,7 +21,8 @@ You can restrict registration to email addresses from certain domains by setting * `SIGNUPS_DOMAINS_WHITELIST=example.com` (single domain) * `SIGNUPS_DOMAINS_WHITELIST=example.com,example.net,example.org` (multiple domains) -:warning: If `SIGNUPS_DOMAINS_WHITELIST` is set, then the value of `SIGNUPS_ALLOWED` is ignored. +> [!WARNING] +> If `SIGNUPS_DOMAINS_WHITELIST` is set, then the value of `SIGNUPS_ALLOWED` is ignored. You may also want to set `SIGNUPS_VERIFY=true`, which would require email verification before a newly-registered user can successfully log in. This would prevent someone from registering with a fake email address that has the proper domain.