mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
change session cookie name to sid
Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
parent
5ceebcbb10
commit
00a3948fff
@ -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