The SIGNUPS_ALLOWED variable is ignored. #3862

Closed
opened 2026-03-07 19:17:15 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @JacobCZ on GitHub (Feb 5, 2019).

When I try to run the docker image with the SIGNUPS_ALLOWED set to false like so:

docker run -d --name bitwarden \                                                                                                                                      
  2   -e SIGNUPS_ALLOWED=false \                                                                                                                                          
  3   -e INVITATIONS_ALLOWED=false \                                                                                                                                      
  5   -v /bw-data/:/data/ \                                                                                                                                               
  6   -p 8666:80 \                                                                                                                                                        
  7   mprasil/bitwarden:latest

the signup button is still there and users can still create an account.

I'm running BW version 2.8.0 on Ubuntu 18.04.1 (4.15.0-34) and docker version 18.09.1

Originally created by @JacobCZ on GitHub (Feb 5, 2019). When I try to run the docker image with the SIGNUPS_ALLOWED set to false like so: ``` docker run -d --name bitwarden \ 2 -e SIGNUPS_ALLOWED=false \ 3 -e INVITATIONS_ALLOWED=false \ 5 -v /bw-data/:/data/ \ 6 -p 8666:80 \ 7 mprasil/bitwarden:latest ``` the signup button is still there and users can still create an account. I'm running BW version 2.8.0 on Ubuntu 18.04.1 (4.15.0-34) and docker version 18.09.1
GiteaMirror added the question label 2026-03-07 19:17:15 -06:00
Author
Owner

@mprasil commented on GitHub (Feb 5, 2019):

Are you sure users can still register? The button won't disappear, because Vault isn't aware of the registration availability, but when you try to register you should get an error response back saying that registrationisn't allowed.

@mprasil commented on GitHub (Feb 5, 2019): Are you sure users can still register? The button won't disappear, because Vault isn't aware of the registration availability, but when you try to register you should get an error response back saying that registrationisn't allowed.
Author
Owner

@JacobCZ commented on GitHub (Feb 5, 2019):

@mprasil oooooh! My bad, sorry. 🙂

@JacobCZ commented on GitHub (Feb 5, 2019): @mprasil oooooh! My bad, sorry. :slightly_smiling_face:
Author
Owner

@Happyfeet01 commented on GitHub (Mar 7, 2019):

Can i run this command on an existing container?

@Happyfeet01 commented on GitHub (Mar 7, 2019): Can i run this command on an existing container?
Author
Owner

@dani-garcia commented on GitHub (Mar 7, 2019):

Yes, you can either stop the container and run it again with the same command but adding -e SIGNUPS_ALLOWED=false to it. Or, if you have the admin panel activated, you can change it from there without restarting.

@dani-garcia commented on GitHub (Mar 7, 2019): Yes, you can either stop the container and run it again with the same command but adding `-e SIGNUPS_ALLOWED=false` to it. Or, if you have the admin panel activated, you can change it from there without restarting.
Author
Owner

@Happyfeet01 commented on GitHub (Mar 8, 2019):

Yes, you can either stop the container and run it again with the same command but adding -e SIGNUPS_ALLOWED=false to it. Or, if you have the admin panel activated, you can change it from there without restarting.

i added the option the docker-compose.yml it works now

@Happyfeet01 commented on GitHub (Mar 8, 2019): > > > Yes, you can either stop the container and run it again with the same command but adding `-e SIGNUPS_ALLOWED=false` to it. Or, if you have the admin panel activated, you can change it from there without restarting. i added the option the docker-compose.yml it works now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#3862