• Resolved dmitrywatch

    (@dmitrywatch)


    Problem: “The code you supplied is not valid.” is displayed, when I try to do 2 factor on prod server.
    This works on the local copy of the prod server. How can I trouble shoot this?

    Steps:
    1. Choose 2 factor mobile

    2. Download google authenticator

    3. Scan the QR

    4. Enter the code from the google authenticator

    This works locally. I check the plugin setting and those are identical. This is a multisite.
    Please help

Viewing 1 replies (of 1 total)
  • Thread Starter dmitrywatch

    (@dmitrywatch)

    I found the cause of the problem: the server time was behind. That can be checked with:
    timedatectl

    then you can synchronize the time with NTP (Network Time Protocol) servers in Ubuntu the following way:

    timedatectl set-ntp yes

    Once I did that. everything worked

Viewing 1 replies (of 1 total)

The topic ‘“The code you supplied is not valid.” message on server’ is closed to new replies.