aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-04-04 01:06:16 +0900
committerGitHub <noreply@github.com>2023-04-03 12:06:16 -0400
commit01d9466bfdbb2e043a03368ca7872944db211f49 (patch)
treeb021431e82f7d502ea46df549efaeac147648621 /templates
parentd0c406a86f7b59af761fb7fe5047aeaf6e506f43 (diff)
downloadgitea-01d9466bfdbb2e043a03368ca7872944db211f49.tar.gz
gitea-01d9466bfdbb2e043a03368ca7872944db211f49.zip
Convert .Source.SkipVerify to $cfg.SkipVerify (#23839)
`Source` doesn't have `SkipVerify`, it is defined in `cfg`
Diffstat (limited to 'templates')
-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 9b07774653..49007e572d 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -212,7 +212,7 @@
<div class="has-tls inline field {{if not .HasTLS}}gt-hidden{{end}}">
<div class="ui checkbox">
<label><strong>{{.locale.Tr "admin.auths.skip_tls_verify"}}</strong></label>
- <input name="skip_verify" type="checkbox" {{if .Source.SkipVerify}}checked{{end}}>
+ <input name="skip_verify" type="checkbox" {{if $cfg.SkipVerify}}checked{{end}}>
</div>
</div>
<div class="field">