From: Timo Sirainen Date: Tue, 7 Apr 2020 09:39:56 +0000 (+0300) Subject: auth: Remove duplicate "mechanism" field in auth request events X-Git-Tag: 2.3.11.2~459 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f5d666f73faa83be35cb6db7fa229b64e53842a;p=thirdparty%2Fdovecot%2Fcore.git auth: Remove duplicate "mechanism" field in auth request events The "mech" field already existed, and it matches %{mech} variable. --- diff --git a/src/auth/auth-request.c b/src/auth/auth-request.c index c5713be1d0..e7670f32a2 100644 --- a/src/auth/auth-request.c +++ b/src/auth/auth-request.c @@ -252,8 +252,6 @@ auth_request_finished_event(struct auth_request *request, struct event *event) if (request->userdb_lookup) { return e; } - if (request->mech != NULL) - e->add_str("mechanism", request->mech->mech_name); if (request->credentials_scheme != NULL) e->add_str("credentials_scheme", request->credentials_scheme); if (request->realm != NULL)