cretueusebiu / laravel-spark-google2fa

Google Authenticator support for Laravel Spark
https://packagist.org/packages/eusebiu/laravel-spark-google2fa
MIT License
87 stars 25 forks source link

Updated to work with newer pragmarx/google2fa #22

Closed tholder closed 4 years ago

tholder commented 5 years ago

I upgraded to spark 9 and had problems although it seems it is more to do with pragmarx/google2fa changes. This fixes the issue.

j3py commented 5 years ago

Is ImageMagick necessary? The team I work on doesn't allow the use of ImageMagick for security reasons.

Perhaps GD would work: https://www.php.net/manual/en/book.image.php . I don't know, it looks like GD has a very different API than ImageMagick.

j3py commented 5 years ago

I see, it looks like pragmarx/google2fa requires BaconQRCode which requires ImageMagick. I haven't yet found any alternative google 2fa packages that don't requires this for QR codes.