From: Aki Tuomi Date: Wed, 5 Apr 2017 06:26:54 +0000 (+0300) Subject: auth: Update default policy string to include device id and protocol X-Git-Tag: 2.2.29.rc1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ef2d8f69d22eb635e7cd7cc653e85bff6beedfb;p=thirdparty%2Fdovecot%2Fcore.git auth: Update default policy string to include device id and protocol --- diff --git a/src/auth/auth-settings.c b/src/auth/auth-settings.c index 101a4b2c9d..9be2e5a8ab 100644 --- a/src/auth/auth-settings.c +++ b/src/auth/auth-settings.c @@ -296,7 +296,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=%{orig_username} pwhash=%{hashed_password} remote=%{real_rip}", + .policy_request_attributes = "login=%{orig_username} pwhash=%{hashed_password} remote=%{real_rip} device_id=%{client_id} protocol=%s", .policy_reject_on_fail = FALSE, .policy_hash_truncate = 12,