forked from gitea/gitea
1
0
Fork 0

Convert .Source.SkipVerify to $cfg.SkipVerify (#23839)

`Source` doesn't have `SkipVerify`, it is defined in `cfg`
This commit is contained in:
yp05327 2023-04-04 01:06:16 +09:00 committed by GitHub
parent d0c406a86f
commit 01d9466bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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">