diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-02-23 06:07:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 17:07:04 -0500 |
commit | 2b5e0134307a45581860029de99449e8be8f807e (patch) | |
tree | 20b8bfb5939d1bce17a19ffaf42aebd5a941b852 /templates | |
parent | c918521d01b00396e395cd0b749bab0c340fa553 (diff) | |
download | gitea-2b5e0134307a45581860029de99449e8be8f807e.tar.gz gitea-2b5e0134307a45581860029de99449e8be8f807e.zip |
Fix ldap edit bug (#18856)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/auth/edit.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index 31c87597f0..6e491d6cf4 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"> |