mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-17 09:42:39 +00:00
Restore company name in demo (#153)
This commit is contained in:
+4
-2
@@ -11,8 +11,10 @@
|
|||||||
include_once str_replace(array('RobThree\\Auth', '\\'), array(__DIR__.'/../lib', '/'), $className) . '.php';
|
include_once str_replace(array('RobThree\\Auth', '\\'), array(__DIR__.'/../lib', '/'), $className) . '.php';
|
||||||
});
|
});
|
||||||
|
|
||||||
// substitute your company or app name here
|
$tfa = new RobThree\Auth\TwoFactorAuth(
|
||||||
$tfa = new RobThree\Auth\TwoFactorAuth(new RobThree\Auth\Providers\Qr\QRServerProvider());
|
new RobThree\Auth\Providers\Qr\QRServerProvider(),
|
||||||
|
"Acme Corp" // substitute your company or app name here
|
||||||
|
);
|
||||||
?>
|
?>
|
||||||
<li>First create a secret and associate it with a user</li>
|
<li>First create a secret and associate it with a user</li>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user