]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Make the default passdb_static/passdb_default_password_scheme = PLAIN explicit
authorMarco Bettini <marco.bettini@open-xchange.com>
Tue, 16 Dec 2025 09:47:03 +0000 (09:47 +0000)
committerMarco Bettini <marco.bettini@open-xchange.com>
Tue, 16 Dec 2025 09:49:22 +0000 (09:49 +0000)
in preperation for the change of the global passdb_default_password_scheme default

src/auth/auth-settings.c

index fa94044df80840e8d317e3f8eff55cb81b5fabc4..e6fb6a833d14fdf9196e798444bf39a0daddf02a 100644 (file)
@@ -268,11 +268,17 @@ static const struct auth_static_settings auth_static_default_settings = {
        .userdb_static_allow_all_users = FALSE,
 };
 
+static const struct setting_keyvalue auth_static_default_settings_keyvalue[] = {
+       { "passdb_static/passdb_default_password_scheme", "PLAIN" },
+       { NULL, NULL }
+};
+
 const struct setting_parser_info auth_static_setting_parser_info = {
        .name = "auth_static",
 
        .defines = auth_static_setting_defines,
        .defaults = &auth_static_default_settings,
+       .default_settings = auth_static_default_settings_keyvalue,
 
        .struct_size = sizeof(struct auth_static_settings),
        .pool_offset1 = 1 + offsetof(struct auth_static_settings, pool),