mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 03:54:22 +00:00
updated vendor files and paths
This commit is contained in:
@@ -92,6 +92,7 @@ func SetCookie(w http.ResponseWriter, r *http.Request, name, value string) {
|
||||
Domain: r.URL.Host,
|
||||
HttpOnly: true,
|
||||
Secure: IsHttps(r),
|
||||
MaxAge: 2147483647, // the cooke value (token) is responsible for expiration
|
||||
}
|
||||
|
||||
http.SetCookie(w, &cookie)
|
||||
|
Reference in New Issue
Block a user