New config option disable email change

This commit is contained in:
Adrià Martín
2023-10-20 11:57:57 +02:00
committed by Mathijs van Veluw
parent ff8db4fd78
commit 4861f6decc
3 changed files with 14 additions and 0 deletions

View File

@@ -480,6 +480,8 @@ make_config! {
invitation_expiration_hours: u32, false, def, 120;
/// Allow emergency access |> Controls whether users can enable emergency access to their accounts. This setting applies globally to all users.
emergency_access_allowed: bool, true, def, true;
/// Allow email change |> Controls whether users can change their email. This setting applies globally to all users.
email_change_allowed: bool, true, def, true;
/// Password iterations |> Number of server-side passwords hashing iterations for the password hash.
/// The default for new users. If changed, it will be updated during login for existing users.
password_iterations: i32, true, def, 600_000;