Daniel García
6 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
2 changed files with
0 additions and
8 deletions
-
.env.template
-
src/config.rs
|
|
@ -43,12 +43,6 @@ |
|
|
|
## It's recommended to also set 'ROCKET_CLI_COLORS=off' |
|
|
|
# LOG_FILE=/path/to/log |
|
|
|
|
|
|
|
## Use a local favicon extractor |
|
|
|
## Set to false to use bitwarden's official icon servers |
|
|
|
## Set to true to use the local version, which is not as smart, |
|
|
|
## but it doesn't send the cipher domains to bitwarden's servers |
|
|
|
# LOCAL_ICON_EXTRACTOR=false |
|
|
|
|
|
|
|
## Controls if new users can register |
|
|
|
# SIGNUPS_ALLOWED=true |
|
|
|
|
|
|
|
|
|
@ -56,7 +56,6 @@ make_config! { |
|
|
|
extended_logging: bool, |
|
|
|
log_file: Option<String>, |
|
|
|
|
|
|
|
local_icon_extractor: bool, |
|
|
|
signups_allowed: bool, |
|
|
|
invitations_allowed: bool, |
|
|
|
admin_token: Option<String>, |
|
|
@ -167,7 +166,6 @@ impl Config { |
|
|
|
extended_logging: get_env_or("EXTENDED_LOGGING", true), |
|
|
|
log_file: get_env("LOG_FILE"), |
|
|
|
|
|
|
|
local_icon_extractor: get_env_or("LOCAL_ICON_EXTRACTOR", false), |
|
|
|
signups_allowed: get_env_or("SIGNUPS_ALLOWED", true), |
|
|
|
admin_token: get_env("ADMIN_TOKEN"), |
|
|
|
invitations_allowed: get_env_or("INVITATIONS_ALLOWED", true), |
|
|
|