diff --git a/src/nemo-devicelock/host/hostauthenticator.cpp b/src/nemo-devicelock/host/hostauthenticator.cpp index 9fb37b6..ca2a1f4 100644 --- a/src/nemo-devicelock/host/hostauthenticator.cpp +++ b/src/nemo-devicelock/host/hostauthenticator.cpp @@ -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: