mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Fix method called on non existing $this
This commit is contained in:
parent
7f5cac0c91
commit
0fd9869230
@ -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' ) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user