mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
fix session API broken and SQL pretection
This commit is contained in:
@@ -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)")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user