{{define "public/login.html"}} {{template "public_favicon_link" .}} {{.Title}} - {{T "site_name"}} {{template "custom-head-embed" .}} {{template "public/header_frag" .}}

{{T "login_title"}}

{{T "site_name"}}

{{if index .Data "Err"}}
{{index .Data "Err"}}
{{end}} {{if index .Data "Ok"}}
{{index .Data "Ok"}}
{{end}} {{if and (not .User) (index .Data "OAuthSessionProbe")}} {{end}} {{if index .Data "SSOLoginOnly"}}

{{T "oauth_sso_hint"}}

{{T "oauth_retry"}}

{{T "oauth_back_home"}}

{{else}} {{if index .Data "OAuthHybrid"}} {{T "oauth_login_button"}}

{{T "oauth_or_local"}}

{{end}}
{{if index .Data "LoginRedirect"}}{{end}}
{{T

{{T "login_no_account"}} {{T "login_go_register"}}

{{end}}
{{template "public/footer_frag" .}} {{end}}