PDF rausgenommen
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Matomo - free/libre analytics platform
|
||||
*
|
||||
* @link https://matomo.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*/
|
||||
namespace Piwik\Plugins\TwoFactorAuth\Dao;
|
||||
|
||||
class RecoveryCodeStaticGenerator extends RecoveryCodeRandomGenerator
|
||||
{
|
||||
private $index = 10;
|
||||
|
||||
public function generateCode()
|
||||
{
|
||||
$this->index++;
|
||||
return str_pad($this->index, 16, '0');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user