Skip to content

Commit

Permalink
Fix setting an initial lock code.
Browse files Browse the repository at this point in the history
Go straight to setting a new lock code without asking for one which
doesn't exist.
  • Loading branch information
adenexter committed Dec 16, 2016
1 parent 384b51e commit c770f01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nemo-devicelock/host/hostauthenticator.cpp
Expand Up @@ -159,6 +159,7 @@ void HostAuthenticator::handleChangeSecurityCode(const QString &client, const QV

switch (availability()) {
case AuthenticationNotRequired:
m_state = EnteringNewSecurityCode;
authenticationStarted(Authenticator::SecurityCode, AuthenticationInput::EnterNewSecurityCode);
break;
case CanAuthenticateSecurityCode:
Expand Down

0 comments on commit c770f01

Please sign in to comment.