@wfgerald:
Yes! There is a match between Settings > General “Universal Time is …” and Wordfence > Login Security “Server Time: “.
I’ve been saying since the beginning that those two match, and that is precisely the root of the problem. “Server Time” should NOT match UTC time, it should match Settings > General “Your local time is…”.
UTC time is just a reference, you need to apply an offset to it depending on the timezone to match each user’s local time. if you always match “Server time” to “UTC time” 2fa authentication will ONLY work for 1/24th of all people using WordPress, or people living in UTC-0 timezone, it makes no sense at all. Anyone outside of a UTC-0 timezone will NOT be able to use your 2fa until you fix this issue.
To clarify:
Settings > General “Your local time is {correct local time}”
Server cli # date
{correct local date/time}
php.ini > date.timezone = {correct local date/time zone}
Time on my phone, running the 2fa app > {correct local time}
Settings > General “Universal time is {UTC time correctly, but definitely not my local time}
Wordfence > Login Security “Server Time: {UTC time, but definitely not my local time}
I hope that with this explanation you now understand our issues, we all live in different timezones, they will NEVER match UTC. Although we all use UTC as a reference to know our exact local time, you need to apply an offset to UTC depending on the timezone otherwise why even set a timezone at all.
-
This reply was modified 5 years, 6 months ago by dloprodz.