Skip to content

Commit

Permalink
Fix issue were cancelling toonguard code locks new logins indefinitely.
Browse files Browse the repository at this point in the history
  • Loading branch information
madsciencecoder committed Jul 28, 2016
1 parent 11877ce commit fd4e931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loginworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ void LoginWorker::startTwoFactorAuthentication()
if(receivedToken == "cancel")
{
emit sendMessage("Cancelling login.");
emit authenticationFailed();
qDebug() << "Cancelling two factor authentication\n";
return;
}
Expand Down

0 comments on commit fd4e931

Please sign in to comment.