1
0
Fork 0
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:
Daniel García 2019-01-28 23:58:32 +01:00
parent bef1183c49
commit c0e350b734
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
4 changed files with 44 additions and 40 deletions

View file

@ -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),