summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-04 11:37:15 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-04 11:37:15 -0500
commit0c5ba4573aecc9eaed669e9431a70a5d9f184b8d (patch)
treeaaca06a83f8c6d827a728a9a672d53b7d2187464 /cmd/web.go
parent69a98236bdab4345c8b397a5a91f5e5abf745b42 (diff)
downloadgitea-0c5ba4573aecc9eaed669e9431a70a5d9f184b8d.tar.gz
gitea-0c5ba4573aecc9eaed669e9431a70a5d9f184b8d.zip
fix session API broken and SQL pretection
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index d59ab52ee2..dc89fed78d 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -72,7 +72,7 @@ func checkVersion() {
log.Fatal(4, "Package i18n version is too old, did you forget to update?(github.com/macaron-contrib/i18n)")
}
sessionVer := git.MustParseVersion(session.Version())
- if sessionVer.LessThan(git.MustParseVersion("0.0.3")) {
+ if sessionVer.LessThan(git.MustParseVersion("0.0.5")) {
log.Fatal(4, "Package session version is too old, did you forget to update?(github.com/macaron-contrib/session)")
}
}