Originally created by @chielmi on GitHub (Feb 1, 2019).
Great docker!
There is one thing I can't figure out. I would like to disable user registration. This should be possible by adding globalSettings__disableUserRegistration=true to ./bwdata/env/global.override.env
But I can't figure out how to do this. The container has no /bwdata. I have mapped /data to a local drive, but adding the global.override.env file in that location made no difference.
Is there a way to add this variable?
Originally created by @chielmi on GitHub (Feb 1, 2019).
Great docker!
There is one thing I can't figure out. I would like to disable user registration. This should be possible by adding _globalSettings__disableUserRegistration=true_ to ./bwdata/env/global.override.env
But I can't figure out how to do this. The container has no /bwdata. I have mapped /data to a local drive, but adding the global.override.env file in that location made no difference.
Is there a way to add this variable?
Hi, please see here - you basically just set the appropriate env variable. Hope that helps.
@mprasil commented on GitHub (Feb 1, 2019):
Hi, please see [here](https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users) - you basically just set the appropriate env variable. Hope that helps.
@hboetes commented on GitHub (Sep 25, 2019):
bit clumsy but here's how I do it:
```
grep -v '^#' .env|sed -e 's|^|export |' > env
source env
cargo run --features sqlite --release
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @chielmi on GitHub (Feb 1, 2019).
Great docker!
There is one thing I can't figure out. I would like to disable user registration. This should be possible by adding globalSettings__disableUserRegistration=true to ./bwdata/env/global.override.env
But I can't figure out how to do this. The container has no /bwdata. I have mapped /data to a local drive, but adding the global.override.env file in that location made no difference.
Is there a way to add this variable?
@mprasil commented on GitHub (Feb 1, 2019):
Hi, please see here - you basically just set the appropriate env variable. Hope that helps.
@hboetes commented on GitHub (Sep 25, 2019):
bit clumsy but here's how I do it: