add csrf check

This commit is contained in:
slene committed 2014-03-23 01:44:02 +08:00
1 parent 01e781dedb
commit 076fc98d98
18 files changed
+208 -46

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
<meta name="author" content="Gogs - Go Git Service" />
<meta name="description" content="Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language" />
<meta name="keywords" content="go, git">
<meta name="_csrf" content="{{.CsrfToken}}" />
<!-- Stylesheets -->
<link href="/css/bootstrap.min.css" rel="stylesheet" />