diff --git a/app/Classes/OTP.php b/app/Classes/OTP.php index e7bc95dc..fceb00d9 100644 --- a/app/Classes/OTP.php +++ b/app/Classes/OTP.php @@ -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' ) {