mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Merge pull request #6386 from heww/session
change session cookie name to sid
This commit is contained in:
commit
a81346a4ba
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user