]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Move STATIC_PASS_SCHEME to passdb.h
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 14 Feb 2025 08:10:57 +0000 (10:10 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 18 Feb 2025 06:52:10 +0000 (06:52 +0000)
src/auth/passdb-template.h
src/auth/passdb.h

index 1aa8af5af7071e2a3785a286831a6cf20f278b39..6bcdbc7297956f0c056548ab212c555c1d37b962 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef PASSDB_TEMPLATE_H
 #define PASSDB_TEMPLATE_H
 
-#define STATIC_PASS_SCHEME "PLAIN"
-
 struct passdb_template *passdb_template_build(pool_t pool, const char *args);
 int passdb_template_export(struct passdb_template *tmpl,
                           struct auth_request *auth_request,
index 102df34c56a4b50c943932e0c60dd72a1772f61e..93d43f6e6494bc3a3a96e507daf1767187f5f00c 100644 (file)
@@ -4,6 +4,8 @@
 #define IS_VALID_PASSWD(pass) \
        ((pass)[0] != '\0' && (pass)[0] != '*' && (pass)[0] != '!')
 
+#define STATIC_PASS_SCHEME "PLAIN"
+
 struct auth_request;
 struct auth_passdb_settings;
 struct passdb_module;