aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLunny Xiao2022-02-23 06:31:29 +0800
committerGitHub2022-02-22 17:31:29 -0500
commitefc78c18c12e00883d50f6272df5ad11622b59c4 (patch)
tree89ad6db936d26c31bf1c5aa7e0f13bc911f51f10
parentf5a3c0dd6c9d4c5611d115e0fe2c0b25724b8b49 (diff)
Fix ldap edit bug (#18859)
-rw-r--r--templates/admin/auth/edit.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index efa440ff3..69cc51674 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -27,7 +27,7 @@
<div class="inline required field {{if .Err_SecurityProtocol}}error{{end}}">
<label>{{.i18n.Tr "admin.auths.security_protocol"}}</label>
<div class="ui selection security-protocol dropdown">
- <input type="hidden" id="security_protocol" name="security_protocol" value="{{$cfg.SecurityProtocol}}">
+ <input type="hidden" id="security_protocol" name="security_protocol" value="{{$cfg.SecurityProtocol.Int}}">
<div class="text">{{$cfg.SecurityProtocolName}}</div>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu">