From: Aki Tuomi Date: Thu, 24 Aug 2023 09:26:44 +0000 (+0300) Subject: auth: db-oauth2 - Set default value for active_attribute and active_value to empty... X-Git-Tag: 2.3.21~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=526b66635d6dd8762aa4f26a26a2de988c6fa798;p=thirdparty%2Fdovecot%2Fcore.git auth: db-oauth2 - Set default value for active_attribute and active_value to empty string Otherwise it will always require this attribute to be present when not configured. --- diff --git a/src/auth/db-oauth2.c b/src/auth/db-oauth2.c index 4ad350d676..b36a4ced3f 100644 --- a/src/auth/db-oauth2.c +++ b/src/auth/db-oauth2.c @@ -160,8 +160,8 @@ static struct passdb_oauth2_settings default_oauth2_settings = { .introspection_mode = "", .username_format = "%Lu", .username_attribute = "email", - .active_attribute = "active", - .active_value = "true", + .active_attribute = "", + .active_value = "", .client_id = "", .client_secret = "", .issuers = "",