mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-18 01:12:42 +00:00
Update CHANGELOG.md
propose the use of named arguments Co-authored-by: Will Power <1619102+willpower232@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ use RobThree\Auth\Providers\Qr\QRServerProvider;
|
||||
$tfa = new TwoFactorAuth(new QRServerProvider());
|
||||
~~~
|
||||
|
||||
If you provided one before, the order of the parameters have been changed, so simply move the QRCodeProvider argument to the first place.
|
||||
If you provided one before, the order of the parameters have been changed, so simply move the QRCodeProvider argument to the first place or use named arguments.
|
||||
|
||||
Documentation on selecting a QR Code Provider is available here: [QR Code Provider documentation](https://robthree.github.io/TwoFactorAuth/qr-codes.html).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user