Skip to content

Commit 241dfec

Browse files
fix: fixed docs
1 parent 63b49ce commit 241dfec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/qr-codes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ If you do not want to use the default QR code provider, you can specify the one
4848

4949
```php
5050
use RobThree\Auth\TwoFactorAuth;
51+
use RobThree\Auth\Algorithm;
5152

5253
$qrCodeProvider = new YourChosenProvider();
5354

5455
$tfa = new TwoFactorAuth(
5556
null,
5657
6,
5758
30,
58-
'sha1',
59+
Algorithm::Sha1,
5960
$qrCodeProvider
6061
);
6162
```

0 commit comments

Comments
 (0)