]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: Notify about obsolete auth_debug setting
authorKarl Fleischmann <karl.fleischmann@open-xchange.com>
Thu, 24 Mar 2022 09:30:32 +0000 (10:30 +0100)
committerKarl Fleischmann <karl.fleischmann@open-xchange.com>
Wed, 6 Apr 2022 07:04:13 +0000 (10:04 +0300)
src/config/old-set-parser.c

index cdf6eca0535c93129ce076f1511fb524d2cb8d5d..59e033c7efdef26778c0ce23eda256319a6f6fe8 100644 (file)
@@ -283,6 +283,10 @@ old_settings_handle_root(struct config_parser_context *ctx,
                                  NULL);
                return TRUE;
        }
+       if (strcmp(key, "auth_debug") == 0) {
+               obsolete(ctx, "%s will be removed in a future version, consider using log_debug = \"category=auth\" instead", key);
+               return TRUE;
+       }
        if (strcmp(key, "login_access_sockets") == 0) {
                if (value != NULL && *value != '\0')
                        i_fatal("%s is no longer supported", key);