mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-31 20:47:37 +00:00
* Cleaned up demo.php
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
require_once 'loader.php';
|
||||
Loader::register('RobThree','RobThree');
|
||||
|
||||
use RobThree\TwoFactorAuth;
|
||||
|
||||
$tfa = new TwoFactorAuth\TwoFactorAuth('MyApp');
|
||||
use \RobThree\TwoFactorAuth\TwoFactorAuth;
|
||||
|
||||
$tfa = new TwoFactorAuth('MyApp');
|
||||
|
||||
echo '<li>First create a secret and associate it with a user';
|
||||
$secret = $tfa->createSecret();
|
||||
|
||||
Reference in New Issue
Block a user