vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit d428120ec645ad5089833b405c2ee73d094e0e37
parent e2907f4250b41ffcb00135ecc6b96e3c58d21ff4
Author: Nick Fox <nick@foxsec.net>
Date:   Fri, 14 Dec 2018 21:54:44 -0500

Add email_invitations config option

Diffstat:
Msrc/main.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -271,6 +271,7 @@ pub struct Config { local_icon_extractor: bool, signups_allowed: bool, invitations_allowed: bool, + email_invitations: bool, server_admin_email: Option<String>, password_iterations: i32, show_password_hint: bool, @@ -321,6 +322,7 @@ impl Config { signups_allowed: get_env_or("SIGNUPS_ALLOWED", true), server_admin_email: get_env("SERVER_ADMIN_EMAIL"), invitations_allowed: get_env_or("INVITATIONS_ALLOWED", true), + email_invitations: get_env_or("EMAIL_INVITATIONS", false), password_iterations: get_env_or("PASSWORD_ITERATIONS", 100_000), show_password_hint: get_env_or("SHOW_PASSWORD_HINT", true),