mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-23 12:03:58 +00:00
Disable icon downloads, accept optional query after icon href, format and clippy fixes
This commit is contained in:
parent
bef1183c49
commit
c0e350b734
4 changed files with 44 additions and 40 deletions
|
@ -56,6 +56,7 @@ make_config! {
|
|||
extended_logging: bool,
|
||||
log_file: Option<String>,
|
||||
|
||||
disable_icon_download: bool,
|
||||
signups_allowed: bool,
|
||||
invitations_allowed: bool,
|
||||
admin_token: Option<String>,
|
||||
|
@ -166,6 +167,7 @@ impl Config {
|
|||
extended_logging: get_env_or("EXTENDED_LOGGING", true),
|
||||
log_file: get_env("LOG_FILE"),
|
||||
|
||||
disable_icon_download: get_env_or("DISABLE_ICON_DOWNLOAD", false),
|
||||
signups_allowed: get_env_or("SIGNUPS_ALLOWED", true),
|
||||
admin_token: get_env("ADMIN_TOKEN"),
|
||||
invitations_allowed: get_env_or("INVITATIONS_ALLOWED", true),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue