]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Add session_id to default policy_request_attributes
authorMarkus Valentin <markus.valentin@open-xchange.com>
Fri, 20 Mar 2020 14:57:12 +0000 (15:57 +0100)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Tue, 24 Mar 2020 07:28:53 +0000 (08:28 +0100)
src/auth/auth-settings.c

index 3a077ba1b02e7873a51e7869afa93426e1b35444..cdda11330a054344e5d8ebf2d1f456bd9f21346e 100644 (file)
@@ -306,7 +306,7 @@ static const struct auth_settings auth_default_settings = {
        .policy_server_timeout_msecs = 2000,
        .policy_hash_mech = "sha256",
        .policy_hash_nonce = "",
-       .policy_request_attributes = "login=%{requested_username} pwhash=%{hashed_password} remote=%{rip} device_id=%{client_id} protocol=%s",
+       .policy_request_attributes = "login=%{requested_username} pwhash=%{hashed_password} remote=%{rip} device_id=%{client_id} protocol=%s session_id=%{session}",
        .policy_reject_on_fail = FALSE,
        .policy_check_before_auth = TRUE,
        .policy_check_after_auth = TRUE,