]> Sergey Matveev's repositories - public-inbox.git/commit
lei: fix IMAP auth failure handling
authorEric Wong <e@80x24.org>
Tue, 30 Mar 2021 22:29:47 +0000 (03:29 +0500)
committerEric Wong <e@80x24.org>
Wed, 31 Mar 2021 00:33:53 +0000 (00:33 +0000)
commita00b7214f767191580455b3895e6186c2a72febb
tree67410b83bf088f95398a9b39ff46fb1996ce4cfb
parent54da988cfb049ea2ffcc7abeaa3d026224656516
lei: fix IMAP auth failure handling

We must use the $ops hashref returned by lei->workers_start,
since it's modified to include extra handlers for auth failures
and whatnot.

Fixes: 954581b8e575966a ("lei: simplify PktOp callers")
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiTag.pm
xt/lei-auth-fail.t