mirror of
https://github.com/goharbor/harbor
synced 2025-05-19 03:54:59 +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",
|
||||
Value: lang,
|
||||
HttpOnly: true,
|
||||
Domain: "/",
|
||||
Path: "/",
|
||||
}
|
||||
http.SetCookie(b.Ctx.ResponseWriter, cookies)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user