Merge pull request #6386 from heww/session

change session cookie name to sid
This commit is contained in:
Wenkai Yin 2018-11-30 16:13:45 +08:00 committed by GitHub
commit a81346a4ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,7 @@ func updateInitPassword(userID int, password string) error {
func main() {
beego.BConfig.WebConfig.Session.SessionOn = true
beego.BConfig.WebConfig.Session.SessionName = "sid"
// TODO
redisURL := os.Getenv("_REDIS_URL")
if len(redisURL) > 0 {