summaryrefslogtreecommitdiffstats
path: root/templates/ng/base/head.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ng/base/head.tmpl')
-rw-r--r--templates/ng/base/head.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/ng/base/head.tmpl b/templates/ng/base/head.tmpl
index bab914bfe7..817c18807a 100644
--- a/templates/ng/base/head.tmpl
+++ b/templates/ng/base/head.tmpl
@@ -6,6 +6,7 @@
<meta name="author" content="Gogs - Go Git Service" />
<meta name="description" content="Gogs(Go Git Service) a painless self-hosted Git Service written in Go" />
<meta name="keywords" content="go, git, self-hosted, gogs">
+ <meta name="_csrf" content="{{.CsrfToken}}" />
<link rel="shortcut icon" href="/img/favicon.png" />