mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-30 20:16:48 +00:00
* Removed testcode from demo.php
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
use RobThree\TwoFactorAuth;
|
||||
|
||||
$tfa = new TwoFactorAuth\TwoFactorAuth('MyApp', 6, 30, 'sha1', new TwoFactorAuth\Providers\QRicketProvider());
|
||||
$tfa = new TwoFactorAuth\TwoFactorAuth('MyApp');
|
||||
|
||||
echo '<li>First create a secret and associate it with a user';
|
||||
$secret = $tfa->createSecret();
|
||||
|
||||
Reference in New Issue
Block a user