gitea/templates/user/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>
2023-10-11 22:59:21 +02:00
..
activate.tmpl
captcha.tmpl
change_passwd.tmpl
change_passwd_inner.tmpl
finalize_openid.tmpl
forgot_passwd.tmpl
grant.tmpl
grant_error.tmpl
link_account.tmpl
oidc_wellknown.tmpl
prohibit_login.tmpl
reset_passwd.tmpl
signin.tmpl
signin_inner.tmpl
signin_navbar.tmpl
signin_openid.tmpl
signup.tmpl
signup_inner.tmpl
signup_openid_connect.tmpl
signup_openid_navbar.tmpl
signup_openid_register.tmpl
twofa.tmpl
twofa_scratch.tmpl
webauthn.tmpl
webauthn_error.tmpl