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_inner.tmpl
change_passwd.tmpl
finalize_openid.tmpl
forgot_passwd.tmpl
grant_error.tmpl
grant.tmpl
link_account.tmpl
oidc_wellknown.tmpl
prohibit_login.tmpl
reset_passwd.tmpl
signin_inner.tmpl
signin_navbar.tmpl
signin_openid.tmpl
signin.tmpl
signup_inner.tmpl
signup_openid_connect.tmpl
signup_openid_navbar.tmpl
signup_openid_register.tmpl
signup.tmpl
twofa_scratch.tmpl
twofa.tmpl
webauthn_error.tmpl
webauthn.tmpl Don't show Link to TOTP if not set up (#27585) (#27588) 2023-10-11 22:59:21 +02:00