2FA enabling not working on Gitea 1.2 clean install

  • Gitea version (or commit ref): gitea-1.2-linux-amd64
  • Git version: 2.1.4
  • Operating system: Debian 8
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

On clean install with the latest version, 1.2, in a debian 8 server, when trying to enable 2FA (with QR or secret) it just gives an error of “That passcode is invalid. Try again.” Does anyone know about this issue why it is happening and what to do? Seems weird that a clean install is already failing…

Screenshots

Seems to be working fine for me. Check that your servers time is correct