Two-factor authentication doesn't work

I've enabled 2-factor authentication on my site, but I cannot verify it in my profile. I'm getting the following error every time:
Your OTP code is incorrect. Please try again.

  • Nastia

    Hello Willer

    Hope you're doing well!

    It could be an issue with the server. If the unixtimestamp is slower than real unixtimestamp it will show this message, each OTP code has a window connection for 30 seconds, so when OTP code is typed of the current moment, the code available for a server is the code already expired at 1 minute ago.

    Please contact your server provider and ask them to check the time() function so they could fix the issue.

    Let us know how it went!

    Kind regards,
    Nastia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.