changeset 21897:3b71e7b69d1c

auth: Update default policy string to include device id and protocol
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Wed, 05 Apr 2017 09:26:54 +0300
parents db6da4cbd052
children a0c4080f1005
files src/auth/auth-settings.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/auth-settings.c	Tue Apr 04 15:59:04 2017 +0300
+++ b/src/auth/auth-settings.c	Wed Apr 05 09:26:54 2017 +0300
@@ -296,7 +296,7 @@
 	.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,