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

Merge branch 'jb45831' into 'master'

Handle SecurityCodeInHistory after Evaluating. JB#45831

See merge request !40
parents 5ddd5160 a281ed99
......@@ -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