mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 02:16:10 +08:00

This change enables the usage of U2F without being forced to enroll an TOTP authenticator. The `/user/auth/u2f` has been changed to hide the "use TOTP instead" bar if TOTP is not enrolled. Fixes #5410 Fixes #17495