Closed bencroker closed 3 years ago
The TOTP constructor is protected as of version 9, so a PHP error is thrown when it is called from the plugin. https://github.com/Spomky-Labs/otphp/blob/bfd24fe5b38b5d17cfa774224b000750ee51643c/src/TOTP.php#L21-L26
This PR fixes how TOTP instances are created.
Thanks @bencroker! Fixed in 2.8.1
The TOTP constructor is protected as of version 9, so a PHP error is thrown when it is called from the plugin. https://github.com/Spomky-Labs/otphp/blob/bfd24fe5b38b5d17cfa774224b000750ee51643c/src/TOTP.php#L21-L26
This PR fixes how TOTP instances are created.