-
Notifications
You must be signed in to change notification settings - Fork 254
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
[3.0]: "Undefined array key" errors when logging in with TFA #7983
Comments
Fixed in #7982 |
This is a completely different issue @Sesquipedalian. The issue I fixed caused an error when trying to logout if TFA was enabled. This still occurs with the latest revision (4bc65a0). |
My mistake. 🙂 |
Did some digging and it appears when you hit logintfa, the information for the user who's logging in isn't actually loaded (presumably because they haven't actually logged in yet). Here's a print_r of
We already check to see if |
Basic Information
Expected behavior:
No errors in the error log when doing normal things like logging in with TFA
Actual behavior:
These two errors appear each time you go to "action=logintfa", resulting in 4 errors in the error log each time you log in with TFA
Both point to line 4635 in Sources/User.php
Steps to reproduce
Version/Git revision
0fd130d
Database Engine
All
Database Version
MariaDB 10.6.12
PHP Version
8.3.0
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: