aboutsummaryrefslogtreecommitdiff
path: root/templates/admin
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-03-14 22:06:08 +0800
committerGitHub <noreply@github.com>2022-03-14 22:06:08 +0800
commit714383a063f64fcc7c6a458182c4f9cf5a46df66 (patch)
treeebed76f917e9817cd78c4dda07813f93f3bb16bd /templates/admin
parenta2c632526111b3333de482c69709a7ca70a173f8 (diff)
conf: add allowlist for accessing local network (#6842)
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/config.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 6571b15d..74b0aaf7 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -210,6 +210,8 @@
<dd><i class="fa fa{{if .Security.EnableLoginStatusCookie}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.security.login_status_cookie_name"}}</dt>
<dd>{{.Security.LoginStatusCookieName}}</dd>
+ <dt>{{.i18n.Tr "admin.config.security.local_network_allowlist"}}</dt>
+ <dd><code>{{.Security.LocalNetworkAllowlist}}</code></dd>
</dl>
</div>