{{template "base/head" .}}
{{template "admin/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "admin.auths.edit"}}

{{.CsrfTokenHtml}}
{{.Source.TypeName}}
{{if or .Source.IsLDAP .Source.IsDLDAP}} {{ $cfg:=.Source.LDAP }}
{{if .Source.IsLDAP}}

{{.i18n.Tr "admin.auths.bind_password_helper"}}

{{end}}
{{if .Source.IsDLDAP}}
{{end}}

{{.i18n.Tr "admin.auths.restricted_filter_helper"}}


{{if .Source.IsLDAP}}
{{end}}
{{end}} {{if .Source.IsSMTP}} {{ $cfg:=.Source.SMTP }}

{{.i18n.Tr "admin.auths.allowed_domains_helper"}}

{{end}} {{if .Source.IsPAM}} {{ $cfg:=.Source.PAM }}
{{end}} {{if .Source.IsOAuth2}} {{ $cfg:=.Source.OAuth2 }}
{{if .OAuth2DefaultCustomURLMappings}}{{range $key, $value := .OAuth2DefaultCustomURLMappings}} {{end}}{{end}} {{end}} {{if .Source.IsSSPI}} {{ $cfg:=.Source.SSPI }}

{{.i18n.Tr "admin.auths.sspi_auto_create_users_helper"}}

{{.i18n.Tr "admin.auths.sspi_auto_activate_users_helper"}}

{{.i18n.Tr "admin.auths.sspi_strip_domain_names_helper"}}

{{.i18n.Tr "admin.auths.sspi_separator_replacement_helper"}}

{{.i18n.Tr "admin.auths.sspi_default_language_helper"}}

{{end}}
{{if .Source.IsLDAP}}
{{end}}
{{.i18n.Tr "admin.auths.delete"}}
{{template "base/footer" .}}