mirror of
https://github.com/goharbor/harbor
synced 2024-09-21 06:45:37 +00:00
Merge pull request #1076 from reasonerjt/dev
set path for language cookie
This commit is contained in:
commit
cf5420d6e8
|
@ -75,7 +75,7 @@ func (b *BaseController) Prepare() {
|
||||||
Name: "language",
|
Name: "language",
|
||||||
Value: lang,
|
Value: lang,
|
||||||
HttpOnly: true,
|
HttpOnly: true,
|
||||||
Domain: "/",
|
Path: "/",
|
||||||
}
|
}
|
||||||
http.SetCookie(b.Ctx.ResponseWriter, cookies)
|
http.SetCookie(b.Ctx.ResponseWriter, cookies)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user