mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-10-27 08:30:13 +00:00
Added configurable smtp timeout.
- Added config option for smtp timeout - Lowered default timeout to 15 seconds instead of default 60.
This commit is contained in:
1 parent
cbb92bcbc0
commit
c52adef919
3 files changed
+6
No files matched your search
@@ -350,6 +350,8 @@ make_config! {
|
||||
smtp_password: Pass, true, option;
|
||||
/// Json form auth mechanism |> Defaults for ssl is "Plain" and "Login" and nothing for non-ssl connections. Possible values: ["Plain", "Login", "Xoauth2"]
|
||||
smtp_auth_mechanism: String, true, option;
|
||||
/// SMTP connection timeout |> Number of seconds when to stop trying to connect to the SMTP server
|
||||
smtp_timeout: u64, true, def, 15;
|
||||
},
|
||||
|
||||
/// Email 2FA Settings
|
||||
|
||||
Reference in new issue
Block a user