From: Markus Valentin Date: Fri, 20 Mar 2020 14:57:12 +0000 (+0100) Subject: auth: Add session_id to default policy_request_attributes X-Git-Tag: 2.3.11.2~520 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ad8dc4a4fa855499dec9a89193179b8c7a7e8b7;p=thirdparty%2Fdovecot%2Fcore.git auth: Add session_id to default policy_request_attributes --- diff --git a/src/auth/auth-settings.c b/src/auth/auth-settings.c index 3a077ba1b0..cdda11330a 100644 --- a/src/auth/auth-settings.c +++ b/src/auth/auth-settings.c @@ -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,