Fix: Changes for > PHP 8

This commit is contained in:
Jan
2023-06-08 16:56:08 +02:00
committed by GitHub
parent 241dfec585
commit dd0ecaeed1
+1 -3
View File
@@ -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
);
```