Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb45831' into 'master'
Handle SecurityCodeInHistory after Evaluating. JB#45831

See merge request mer-core/nemo-qml-plugin-devicelock!40
  • Loading branch information
Tomin1 committed May 10, 2019
2 parents 5ddd516 + a281ed9 commit f54af87
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/nemo-devicelock/host/hostauthenticator.cpp
Expand Up @@ -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:
Expand Down

0 comments on commit f54af87

Please sign in to comment.