|
|
@ -234,6 +234,9 @@ make_config! {
|
|
|
|
/// Enable web vault
|
|
|
|
/// Enable web vault
|
|
|
|
web_vault_enabled: bool, false, def, true;
|
|
|
|
web_vault_enabled: bool, false, def, true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// HIBP Api Key |> HaveIBeenPwned API Key, request it here: https://haveibeenpwned.com/API/Key
|
|
|
|
|
|
|
|
hibp_api_key: Pass, true, option;
|
|
|
|
|
|
|
|
|
|
|
|
/// Disable icon downloads |> Set to true to disable icon downloading, this would still serve icons from
|
|
|
|
/// Disable icon downloads |> Set to true to disable icon downloading, this would still serve icons from
|
|
|
|
/// $ICON_CACHE_FOLDER, but it won't produce any external network request. Needs to set $ICON_CACHE_TTL to 0,
|
|
|
|
/// $ICON_CACHE_FOLDER, but it won't produce any external network request. Needs to set $ICON_CACHE_TTL to 0,
|
|
|
|
/// otherwise it will delete them and they won't be downloaded again.
|
|
|
|
/// otherwise it will delete them and they won't be downloaded again.
|
|
|
@ -269,6 +272,10 @@ make_config! {
|
|
|
|
/// Note that the checkbox would still be present, but ignored.
|
|
|
|
/// Note that the checkbox would still be present, but ignored.
|
|
|
|
disable_2fa_remember: bool, true, def, false;
|
|
|
|
disable_2fa_remember: bool, true, def, false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Require new device emails |> When a user logs in an email is required to be sent.
|
|
|
|
|
|
|
|
/// If sending the email fails the login attempt will fail.
|
|
|
|
|
|
|
|
require_device_email: bool, true, def, false;
|
|
|
|
|
|
|
|
|
|
|
|
/// Reload templates (Dev) |> When this is set to true, the templates get reloaded with every request.
|
|
|
|
/// Reload templates (Dev) |> When this is set to true, the templates get reloaded with every request.
|
|
|
|
/// ONLY use this during development, as it can slow down the server
|
|
|
|
/// ONLY use this during development, as it can slow down the server
|
|
|
|
reload_templates: bool, true, def, false;
|
|
|
|
reload_templates: bool, true, def, false;
|
|
|
|