RobThree / TwoFactorAuth

PHP library for Two Factor Authentication (TFA / 2FA)
MIT License
1.07k stars 129 forks source link

EndroidQrCodeProviderWithLogo v6 #142

Open YellowMaker opened 2 hours ago

YellowMaker commented 2 hours ago

I see fix for EndroidQrCodeProvider (https://github.com/RobThree/TwoFactorAuth/issues/141, https://github.com/RobThree/TwoFactorAuth/pull/140) but what about EndroidQrCodeProviderWithLogo class?

willpower232 commented 2 hours ago

It extends the original one so should be mostly working, are you seeing any specific error messages?

YellowMaker commented 2 hours ago
Fatal error:  Uncaught Error: Call to undefined method Endroid\QrCode\Logo\Logo::create() in /var/www/composer/vendor/robthree/twofactorauth/lib/Providers/Qr/EndroidQrCodeWithLogoProvider.php:36
  thrown in /var/www/composer/vendor/robthree/twofactorauth/lib/Providers/Qr/EndroidQrCodeWithLogoProvider.php on line 36
YellowMaker commented 1 hour ago

This should work https://github.com/RobThree/TwoFactorAuth/pull/143