]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: db-oauth2 - Set default value for active_attribute and active_value to empty...
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 24 Aug 2023 09:26:44 +0000 (12:26 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 29 Aug 2023 07:08:45 +0000 (07:08 +0000)
Otherwise it will always require this attribute to be present when not
configured.

src/auth/db-oauth2.c

index 4ad350d676e200175f2b33e50aee00f75b3bdccb..b36a4ced3f98bd070b0701247da7aed37f4f611a 100644 (file)
@@ -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 = "",