mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-09-03 05:56:46 +00:00
fix: fixed docs
This commit is contained in:
+2
-1
@@ -48,6 +48,7 @@ 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;
|
||||
|
||||
$qrCodeProvider = new YourChosenProvider();
|
||||
|
||||
@@ -55,7 +56,7 @@ $tfa = new TwoFactorAuth(
|
||||
null,
|
||||
6,
|
||||
30,
|
||||
'sha1',
|
||||
Algorithm::Sha1,
|
||||
$qrCodeProvider
|
||||
);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user