Skip to content

Commit

Permalink
Fixes a scoping bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhjort committed Nov 20, 2019
1 parent 41d2d3e commit 2cfda8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usersync/cookie.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (cookie *PBSCookie) SetCookieOnResponse(w http.ResponseWriter, setSiteCooki
var sameSiteCookie *http.Cookie
if setSiteCookie {
httpCookie.Secure = true
uidsCookieStr := httpCookie.String()
uidsCookieStr = httpCookie.String()
uidsCookieStr += SameSiteAttribute
sameSiteCookie = &http.Cookie{
Name: SameSiteCookieName,
Expand Down

0 comments on commit 2cfda8c

Please sign in to comment.