Commit fca315cf authored by Gibeom Gwon's avatar Gibeom Gwon Committed by David Edmundson
Browse files

Handle ConvPutAuthAbort as an authentication failure

If an incorrect password is provided for a systemd-homed based user,
kcheckpass sends ConvPutAuthAbort. Currently, ConvPutAuthAbort is
handled like ConvPutReadyForAuthentication. This causes the problem
of repeating authentication indefinitely. So, treating ConvPutAuthAbort
as an authentication failure solves the problem.

BUG: 438099

(cherry picked from commit f78ccfc9)
parent e287f079
......@@ -285,9 +285,9 @@ void KCheckPass::handleVerify()
Q_EMIT failed();
case ConvPutAuthError:
case ConvPutAuthAbort:
case ConvPutAuthAbort:
case ConvPutReadyForAuthentication:
m_ready = true;
if (m_mode == AuthenticationMode::Direct) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment