{{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.Cfg }}
{{if .Source.IsLDAP}}
{{end}}
{{if .Source.IsDLDAP}}
{{end}}

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


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

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

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

{{.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" .}}