Skip to content

Commit

Permalink
use current cookie domain instead of hardcoded value
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Dec 12, 2023
1 parent ea8b6a5 commit 245c766
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ func (api *Api) createCookie(value string, expires time.Time) *http.Cookie {
Value: value,
Path: api.app.Config.CookiePath,
Expires: expires,
Domain: api.app.Config.CookieDomain,
HttpOnly: true,
Secure: api.app.Config.CookieSecure,
}
Expand Down

0 comments on commit 245c766

Please sign in to comment.