Recommend this page to a friend! |
Classes of Faris AL-Otabi | Uploady PHP Upload File to MySQL | uploady/vendor/robthree/twofactorauth/CHANGELOG.md | Download |
|
![]() RobThree\TwoFactorAuth changelogVersion 3.xBreaking changesPHP VersionVersion 3.x requires at least PHP 8.2. Constructor signature changeIn order to ensure users of this library make a conscious choice of QR Code Provider, the QR Code Provider is now a mandatory argument, in first place. If you didn't provide one explicitly before, you can get the old behavior with:
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. Default secret lengthThe default secret length has been increased from 80 bits to 160 bits (RFC4226) PR #117. This might cause an issue in your application if you were previously storing secrets in a column with restricted size. This change doesn't impact existing secrets, only new ones will get longer. Previously a secret was 16 characters, now it needs to be stored in a 32 characters width column. You can keep the old behavior by setting Other changes
Version 2.xBreaking changesPHP VersionVersion 2.x requires at least PHP 8.1. Constructor signatureWith version 2.x, the On version 1.x:
On version 2.x, simple change the algorithm from a
See the Algorithm.php file to see available algorithms. |