1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-14 23:53:56 +00:00

Add sends_allowed config setting

This provides global control over whether users can create Bitwarden Sends.
This commit is contained in:
Jeremy Lin 2021-05-11 20:07:32 -07:00
parent e9ee8ac2fa
commit 3ff8014add
3 changed files with 13 additions and 1 deletions

View file

@ -342,6 +342,10 @@ make_config! {
/// Enable web vault
web_vault_enabled: bool, false, def, true;
/// Allow Sends |> Controls whether users are allowed to create Bitwarden Sends.
/// This setting applies globally to all users. To control this on a per-org basis instead, use the "Disable Send" org policy.
sends_allowed: bool, true, def, true;
/// HIBP Api Key |> HaveIBeenPwned API Key, request it here: https://haveibeenpwned.com/API/Key
hibp_api_key: Pass, true, option;