Skip to content

Commit

Permalink
Merge branch 'jb41686' into 'master'
Browse files Browse the repository at this point in the history
[devicelock] Fix authentiation failure due to a PID mismatch. Contributes to JB#41686

See merge request mer-core/nemo-qml-plugin-devicelock!34
  • Loading branch information
adenexter committed Apr 26, 2018
2 parents 89bea1b + fc13d30 commit 6ee8bfb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/nemo-devicelock/host/hostauthenticator.cpp
Expand Up @@ -154,7 +154,10 @@ void HostAuthenticator::authenticate(
startAuthentication(AuthenticationInput::Authorize, QVariantMap(), Authenticator::Confirmation);
} else {
qCDebug(daemon, "Authentication requested. Unsecured, authenticating immediately.");
confirmAuthentication(Authenticator::NoAuthentication);
authenticated(authenticateChallengeCode(
challengeCode,
Authenticator::NoAuthentication,
connectionPid(QDBusContext::connection())));
}
break;
case CanAuthenticateSecurityCode:
Expand Down

0 comments on commit 6ee8bfb

Please sign in to comment.