mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-25 08:05:49 +03:00
[GH-ISSUE #162] Call to undefined method PragmaRX\Google2FA\Google2FA::getQRCodeInline() #306
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/google2fa#306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Saqib-QA on GitHub (Oct 16, 2020).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/162
I just installed this package on my local, using Laravel 7.28.3
followed the steps described at https://www.sitepoint.com/2fa-in-laravel-with-google-authenticator-get-secure/ and got the following error.
Error
Call to undefined method PragmaRX\Google2FA\Google2FA::getQRCodeInline()
rechecked my code with repo, code is fine.
@Saqib-QA commented on GitHub (Oct 16, 2020):
sorry
@mfn commented on GitHub (Oct 16, 2020):
I think you created this on the wrong repo, I think this should be at https://github.com/antonioribeiro/google2fa-laravel (but it's easy to miss this I guess)
This is supposed to reference the Facade alias, see https://github.com/antonioribeiro/google2fa-laravel#use-the-facade
HTH
@antonioribeiro commented on GitHub (Oct 16, 2020):
Yeah, @mfn, got it right, @Saqib-QA , just follow examples on our readme, and you should be fine.