File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
22
23
23
<!-- LDAP and DLDAP -->
24
24
{{if or .Source.IsLDAP .Source.IsDLDAP}}
25
- {{ $cfg:=.Source.LDAP }}
25
+ {{ $cfg:=.Source.Cfg }}
26
26
<div class="inline required field {{if .Err_SecurityProtocol}}error{{end}}">
27
27
<label>{{.i18n.Tr "admin.auths.security_protocol"}}</label>
28
28
<div class="ui selection security-protocol dropdown">
151
151
152
152
<!-- SMTP -->
153
153
{{if .Source.IsSMTP}}
154
- {{ $cfg:=.Source.SMTP }}
154
+ {{ $cfg:=.Source.Cfg }}
155
155
<div class="inline required field">
156
156
<label>{{.i18n.Tr "admin.auths.smtp_auth"}}</label>
157
157
<div class="ui selection type dropdown">
182
182
183
183
<!-- PAM -->
184
184
{{if .Source.IsPAM}}
185
- {{ $cfg:=.Source.PAM }}
185
+ {{ $cfg:=.Source.Cfg }}
186
186
<div class="required field">
187
187
<label for="pam_service_name">{{.i18n.Tr "admin.auths.pam_service_name"}}</label>
188
188
<input id="pam_service_name" name="pam_service_name" value="{{$cfg.ServiceName}}" required>
195
195
196
196
<!-- OAuth2 -->
197
197
{{if .Source.IsOAuth2}}
198
- {{ $cfg:=.Source.OAuth2 }}
198
+ {{ $cfg:=.Source.Cfg }}
199
199
<div class="inline required field">
200
200
<label>{{.i18n.Tr "admin.auths.oauth2_provider"}}</label>
201
201
<div class="ui selection type dropdown">
258
258
259
259
<!-- SSPI -->
260
260
{{if .Source.IsSSPI}}
261
- {{ $cfg:=.Source.SSPI }}
261
+ {{ $cfg:=.Source.Cfg }}
262
262
<div class="field">
263
263
<div class="ui checkbox">
264
264
<label for="sspi_auto_create_users"><strong>{{.i18n.Tr "admin.auths.sspi_auto_create_users"}}</strong></label>
You can’t perform that action at this time.
0 commit comments