Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save krmnn/bd08fb5836a7adaaf74510be563e0e24 to your computer and use it in GitHub Desktop.
Save krmnn/bd08fb5836a7adaaf74510be563e0e24 to your computer and use it in GitHub Desktop.
Gitea: Disable previously enabled two-factor auth for user
  1. Whats the uid?
  2. psql -U gitea -W -d gitea -h localhost
  3. \c gitea
  4. DELETE from two_factor where uid = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment