Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer update - undefined method: isWaitingForSecondFactor() #307

Open
suppenfritz opened this issue May 14, 2024 · 2 comments
Open

composer update - undefined method: isWaitingForSecondFactor() #307

suppenfritz opened this issue May 14, 2024 · 2 comments
Labels

Comments

@suppenfritz
Copy link

Hy,

today, i'm update this lib (regarding 2FactorAuth) with follow composer(v2.4.4) cmd's:

  • update
  • reinstall
  • remove and install again with require
    (test all with new installation and new db with /test/index.php)

but, on every option, in the auth.php, the method "isWaitingForSecondFactor()" is not exist

pls, can you fix it, or can give me a solution(add manual)?

GThx & bg(hobby-dev), suppenfritz

@ocram ocram added the question label May 16, 2024
@ocram
Copy link
Contributor

ocram commented May 16, 2024

Thank you!

Does the library download and install successfully with Composer, or is there a problem during that step already? Does your existing code (without any 2FA stuff) work correctly? Or do the problems only start when you add some 2FA calls and methods?

Where did you find the isWaitingForSecondFactor method, by the way? Did you just find it in the commits? Or while browsing the source code – online, not in your local vendor directory probably?

@suppenfritz
Copy link
Author

suppenfritz commented May 24, 2024

hy,

yes, download and install with composer works correctly but no method's(2FA) are in the local(vendor) file's.
yes, i found the 2FA stuff while i browsing the source code on GitHub after i test the lib on my server with the /tests/index.php -> error on line 880 in method: showDebugData() -> call $auth->isWaitingForSecondFactor() ;)

has 2FA beta status?
idea/wish: is it possible do include "signal messenger" for 2FA?

thx, bg, suppenfritz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants