We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Validating provided 6-digit codes is extremely simple, you just need to instantiate the validator and utilize the "isCodeValid" method.
$validator = new Jocic\GoogleAuthenticator\Validator(); if (!$validator->isCodeValid($code, $account)) { // Handle Invalid Code }