Fix method called on non existing $this

This commit is contained in:
Bubka 2020-01-26 21:02:36 +01:00
parent 7f5cac0c91
commit 0fd9869230

View File

@ -18,7 +18,7 @@ class OTP
public static function generate($uri)
{
$otp = $this->get($uri);
$otp = OTP::get($uri);
if( get_class($otp) === 'OTPHP\TOTP' ) {