* Cleaned up demo.php

This commit is contained in:
RobThree
2014-09-25 00:37:49 +02:00
parent 9294208f2e
commit 0eeedab1a9
+3 -3
View File
@@ -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();