]> 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>
Fri, 25 Aug 2023 07:30:02 +0000 (07:30 +0000)
Otherwise it will always require this attribute to be present when not
configured.

src/auth/db-oauth2.c

index d99f67fb46ff8fdffe46424190f18aec9a972f66..a805f2f86c3c02828279f9d21d8b424c83122cf0 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 = "",