]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Update default policy string to include device id and protocol
authorAki Tuomi <aki.tuomi@dovecot.fi>
Wed, 5 Apr 2017 06:26:54 +0000 (09:26 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 6 Apr 2017 17:22:41 +0000 (20:22 +0300)
src/auth/auth-settings.c

index 101a4b2c9d256d88dfb6d3683b75ffa87dff5831..9be2e5a8ab12df182a3322e1dbc9de03d7023371 100644 (file)
@@ -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,