{{/* 这些样式与内置模板保持一致, 同时作用于登录/注册/绑定账号页 */}}
{{template "base/alert" .}}
{{$hasExternalAuth := or .OAuth2Providers .EnableOpenIDSignIn .EnableSSPI}} {{if $hasExternalAuth}}

登录 {{AppName}}

请使用高程统一身份认证登录, 账号密码与文档作业网站相同

{{template "user/auth/external_auth_methods" .}}
{{end}} {{if .EnablePasswordSignInForm}}

管理员登录

此入口仅供管理员使用

{{if not .DisablePassword}}
{{ctx.Locale.Tr "auth.forgot_password"}}
{{end}}
{{template "user/auth/captcha" .}}
{{end}} {{if .ShowRegistrationButton}}
{{ctx.Locale.Tr "auth.need_account"}} {{ctx.Locale.Tr "auth.sign_up_now"}}
{{end}}