summaryrefslogtreecommitdiffstats
path: root/templates/ng/base/head.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-26 23:53:16 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-26 23:53:16 -0400
commit98131614119f39a3f341392c98a4d2320b5b8e21 (patch)
tree041d90457cd9213d6214faca4001af5a849bbe90 /templates/ng/base/head.tmpl
parent5e8138341357f367868a32b631495c9d5a286477 (diff)
downloadgitea-98131614119f39a3f341392c98a4d2320b5b8e21.tar.gz
gitea-98131614119f39a3f341392c98a4d2320b5b8e21.zip
Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
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" />