LoGiCa7
September 5, 2020, 7:13am
1
I created a standard user and enbled 2FA, but when I type in the 2FA code generated by Google authenticator it sends me back to the password input field without displaying the “Invalid or missing 2FA token” message.
I have 2FA enabled for the admin account and that works fine and shows that error if the 2FA was incorrect.
I’m using Hestia v1.2.3
eris
September 5, 2020, 7:31am
2
Strange, you have scanned the QR code and you are using this code?
Let me check if I can replicate it…
LoGiCa7
September 5, 2020, 7:44am
3
Yes, I’ve scanned the QR and I’m using the generated code.
eris
September 5, 2020, 8:03am
4
Don’t have any issues here…
Raphael
September 5, 2020, 8:04am
5
Is your device insync with the time? 2FA is a bit sensitive about time difference .
LoGiCa7
September 6, 2020, 5:10am
6
I’m using the same device with the admin account and that works fine.
Raphael
September 6, 2020, 5:13am
7
Cant say where a potential issue is, the scripts are the same for all users. I’ll do a check if I can reproduce the issue, when I got some free time.
LoGiCa7
September 7, 2020, 4:41am
8
I did some testing and found that when I use a complex password for the standard user for example:
GTE^4%E^&N3ew45twe465*£$W%"^w7e3w445tp
It won’t login with the generated 2FA code. It just sends me back to the password input field without any error.
When I choose a simpler password like:
ThisisAsimplerPassword!
I can login with a generated 2FA code without an issue.
I tested this on my VPS and then a local install with the same result.
eris
September 7, 2020, 5:55am
9
Have the same issue as “admin” user with this password…
GTE^4%E^&N3ew45twe465*£$W%"^w7e3w445tp
Current issue is the double quote. Will add it to my to do list…
eris
September 7, 2020, 4:59pm
10
Issue should be solved in next release.
LoGiCa7
September 7, 2020, 9:54pm
11
Great, thanks for looking into it
Was the issue the " in the password?
eris
September 7, 2020, 10:03pm
12
Or actually the lack of input securing in a input field
We have now a test version available but not “advised” for a live envoirment but there is should be fixed.
1 Like