mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-27 00:36:46 +00:00
Fix: Changes for > PHP 8
This commit is contained in:
+1
-3
@@ -50,14 +50,12 @@ If you do not want to use the default QR code provider, you can specify the one
|
||||
use RobThree\Auth\TwoFactorAuth;
|
||||
use RobThree\Auth\Algorithm;
|
||||
|
||||
$qrCodeProvider = new YourChosenProvider();
|
||||
|
||||
$tfa = new TwoFactorAuth(
|
||||
null,
|
||||
6,
|
||||
30,
|
||||
Algorithm::Sha1,
|
||||
$qrCodeProvider
|
||||
YourChosenProvider: $qrCodeProvider
|
||||
);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user