public function PHPGangsta_GoogleAuthenticator::setCodeLength in TFA Basic plugins 7
Set the code length, should be >=6.
Parameters
int $length:
Return value
PHPGangsta_GoogleAuthenticator
File
- includes/
googleauthenticator/ GoogleAuthenticator.php, line 152
Class
- PHPGangsta_GoogleAuthenticator
- PHP Class for handling Google Authenticator 2-factor authentication.
Code
public function setCodeLength($length) {
$this->_codeLength = $length;
return $this;
}