Commit a281ed99 authored by Tomi Leppänen's avatar Tomi Leppänen

[devicelock] Handle SecurityCodeInHistory after Evaluating. Contributes to JB#45831

Signed-off-by: Tomi Leppänen's avatarTomi Leppänen <tomi.leppanen@jolla.com>
parent 5ddd5160
......@@ -595,7 +595,11 @@ void HostAuthenticator::setCodeFinished(int result)
} else {
qCDebug(daemon, "Security code disallowed.");
feedback(AuthenticationInput::SecurityCodeInHistory, -1);
enterCodeChangeState(&HostAuthenticationInput::feedback, Authenticator::SecurityCode);
if (m_state == Changing) {
enterCodeChangeState(&HostAuthenticationInput::authenticationResumed, Authenticator::SecurityCode);
} else {
enterCodeChangeState(&HostAuthenticationInput::feedback, Authenticator::SecurityCode);
}
}
break;
case Evaluating:
......
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