Skip to content

Commit 83918a7

Browse files
authored
Restore company name in demo (#153)
1 parent 9b2d795 commit 83918a7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

demo/demo.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
include_once str_replace(array('RobThree\\Auth', '\\'), array(__DIR__.'/../lib', '/'), $className) . '.php';
1212
});
1313

14-
// substitute your company or app name here
15-
$tfa = new RobThree\Auth\TwoFactorAuth(new RobThree\Auth\Providers\Qr\QRServerProvider());
14+
$tfa = new RobThree\Auth\TwoFactorAuth(
15+
new RobThree\Auth\Providers\Qr\QRServerProvider(),
16+
"Acme Corp" // substitute your company or app name here
17+
);
1618
?>
1719
<li>First create a secret and associate it with a user</li>
1820
<?php

0 commit comments

Comments
 (0)