]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth, doveadm: Use password_schemes_register_all() to get all schemes
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 11 Mar 2025 07:25:03 +0000 (09:25 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 11 Mar 2025 17:57:44 +0000 (19:57 +0200)
again

src/auth/main.c
src/auth/test-auth.c
src/doveadm/doveadm-pw.c

index e6f7b805ff1f93cab898dfd22a762078c6c3b622..8a867333fd55784bc8377c6999e2e35f9fe72af6 100644 (file)
@@ -162,7 +162,7 @@ static void main_preinit(void)
        passdbs_init();
        userdbs_init();
        /* init schemes before plugins are loaded */
-       password_schemes_init();
+       password_schemes_register_all();
 
        protocols = read_global_settings();
 
index 6e36df2771c34f5878204439fb262744fc9120fb..91bd4228757052dc2dbcd48659f5d599ef74b247 100644 (file)
@@ -59,7 +59,7 @@ void test_auth_init(void)
        passdbs_init();
        userdbs_init();
        passdb_mock_mod_init();
-       password_schemes_init();
+       password_schemes_register_all();
        password_schemes_allow_weak(TRUE);
 
        auths_preinit(simple_set.event, global_auth_settings, mech_reg, protocols);
index 70a37f3a948521d27c641f653ebb18112367d1c8..1eb0161b2628fb0e04db15966d42221964cebaaf 100644 (file)
@@ -28,7 +28,7 @@ static void cmd_pw(struct doveadm_cmd_context *cctx)
        struct password_generate_params gen_params;
        i_zero(&gen_params);
 
-       password_schemes_init();
+       password_schemes_register_all();
        password_schemes_allow_weak(TRUE);
 
        i_zero(&mod_set);