mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-27 18:47:22 +00:00
fix: docs for new PHP Version
This commit is contained in:
+2
-6
@@ -48,14 +48,10 @@ If you do not want to use the default QR code provider, you can specify the one
|
||||
|
||||
```php
|
||||
use RobThree\Auth\TwoFactorAuth;
|
||||
use RobThree\Auth\Algorithm;
|
||||
|
||||
$tfa = new TwoFactorAuth(
|
||||
null,
|
||||
6,
|
||||
30,
|
||||
Algorithm::Sha1,
|
||||
YourChosenProvider: $qrCodeProvider
|
||||
issuer: "Your Company Or App Name",
|
||||
qrcodeprovider: $qrCodeProvider
|
||||
);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user