Mercurial > dovecot > core-2.2
changeset 10954:bcd43231f723 HEAD
auth: Do username checks/translations even when ssl_username_from_cert=yes
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 19 Mar 2010 17:51:28 +0200 |
parents | bdef690d41d5 |
children | 513c43179ca9 |
files | src/auth/auth-request.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-request.c Fri Mar 19 17:24:22 2010 +0200 +++ b/src/auth/auth-request.c Fri Mar 19 17:51:28 2010 +0200 @@ -868,8 +868,9 @@ } if (request->cert_username) { /* cert_username overrides the username given by - authentication mechanism. */ - return TRUE; + authentication mechanism. but still do checks and + translations to it. */ + username = request->user; } if (*username == '\0') {