internal/template/templates/views/login.html
{{ define "title"}}{{ t "page.login.title" }}{{ end }} {{ define "page_header"}}{{ end }} {{ define "content"}} {{ if not disableLocalAuth }} {{ if .errorMessage }} {{ .errorMessage }} {{ end }} {{ t "form.user.label.username" }}{{ t "form.user.label.password" }} {{ t "action.login" }} {{ end }} {{ if and (not disableLocalAuth) (.webAuthnEnabled) }}
{{ end }} {{ if .webAuthnEnabled }}
{{ t "page.login.webauthn_login" }}
{{ t "page.login.webauthn_login.help" }}
{{ end }} {{ if and (.webAuthnEnabled) (or (hasOAuth2Provider "google") (hasOAuth2Provider "oidc")) }}
{{ end }} {{ if hasOAuth2Provider "google" }} {{ t "page.login.google_signin" }} {{ else if hasOAuth2Provider "oidc" }} {{ t "page.login.oidc_signin" oidcProviderName }} {{ end }}{{ end }}