Skip to content

Commit efc78c1

Browse files
authored
Fix ldap edit bug (#18859)
1 parent f5a3c0d commit efc78c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/admin/auth/edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="inline required field {{if .Err_SecurityProtocol}}error{{end}}">
2828
<label>{{.i18n.Tr "admin.auths.security_protocol"}}</label>
2929
<div class="ui selection security-protocol dropdown">
30-
<input type="hidden" id="security_protocol" name="security_protocol" value="{{$cfg.SecurityProtocol}}">
30+
<input type="hidden" id="security_protocol" name="security_protocol" value="{{$cfg.SecurityProtocol.Int}}">
3131
<div class="text">{{$cfg.SecurityProtocolName}}</div>
3232
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
3333
<div class="menu">

0 commit comments

Comments
 (0)