mirror of https://github.com/go-gitea/gitea
Allow U2F 2FA without TOTP (#11573)
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 #17495pull/17591/head
parent
a3f9e9234c
commit
021df29623
@ -1,7 +1,7 @@ |
||||
- |
||||
id: 1 |
||||
name: "U2F Key" |
||||
user_id: 1 |
||||
user_id: 32 |
||||
counter: 0 |
||||
created_unix: 946684800 |
||||
updated_unix: 946684800 |
||||
|
Loading…
Reference in new issue