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 Jan 26, 2017
1 parent 1e807d8 commit b4dc6e0
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 b4dc6e0

Please sign in to comment.