mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-10 18:07:42 +01:00
set path for language cookie
This commit is contained in:
parent
74714fe74a
commit
49d07ff581
@ -75,7 +75,7 @@ func (b *BaseController) Prepare() {
|
||||
Name: "language",
|
||||
Value: lang,
|
||||
HttpOnly: true,
|
||||
Domain: "/",
|
||||
Path: "/",
|
||||
}
|
||||
http.SetCookie(b.Ctx.ResponseWriter, cookies)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user