Mercurial > dovecot > core-2.2
changeset 21718:220d1290751b
lib-sasl: Fix xoauth2 data format
Authentication data was missing user=
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Tue, 07 Mar 2017 18:10:57 +0200 |
parents | 1085fea7435f |
children | 77703610b025 |
files | src/lib-sasl/mech-oauthbearer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-sasl/mech-oauthbearer.c Tue Mar 07 10:09:20 2017 +0200 +++ b/src/lib-sasl/mech-oauthbearer.c Tue Mar 07 18:10:57 2017 +0200 @@ -130,7 +130,7 @@ str = str_new(_client->pool, 64); - str_printfa(str, "%s\x01", _client->set.authid); + str_printfa(str, "user=%s\x01", _client->set.authid); str_printfa(str, "auth=Bearer %s\x01", _client->password); str_append_c(str, '\x01');