Report failed IDENTIFY against a password-less account to the auth feed
All checks were successful
CI / check (push) Successful in 4m10s

This commit is contained in:
Jean Chevronnet 2026-07-19 05:00:12 +00:00
parent 876bc55e2b
commit 1ecb76affb
No known key found for this signature in database
3 changed files with 38 additions and 0 deletions

View file

@ -113,6 +113,13 @@ impl Engine {
out.push(line);
}
}
// Login-attempt outcomes a command reported (e.g. a failed IDENTIFY against
// a cert-only account), routed through the same auth feed as the verify path.
for r in std::mem::take(&mut ctx.auth_reports) {
if let Some(line) = self.auth_report(r.ok, r.account.as_deref(), &r.mech, &r.client, r.reason.as_deref()) {
out.push(line);
}
}
self.apply_dict_limit(&mut out);
self.apply_msg_style(&mut out);
out