You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/auth
Giteabot 63a321b83a
Don't show Link to TOTP if not set up (#27585) (#27588)
Backport #27585 by @JakobDev

Fixes https://codeberg.org/forgejo/forgejo/issues/1592

When login in with WebAuth, the page has a link to use TOTP instead.
This link is always displayed, no matter if the User has set up TOTP or
not, which do of cause not work for those who have not.

Co-authored-by: JakobDev <jakobdev@gmx.de>
1 year ago
..
2fa.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
auth.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
linkaccount.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
oauth_test.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
openid.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
password.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
webauthn.go Don't show Link to TOTP if not set up (#27585) (#27588) 1 year ago