Skip to content

Commit

Permalink
fix: session cookie names are incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
noxecane committed Sep 4, 2024
1 parent 9c0aeaf commit 137a1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sessions/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (m *Manager) NewCookieSession(r *http.Request, w http.ResponseWriter, v int
if err != nil {
return err
}
ck := &http.Cookie{Name: token, Value: token}
ck := &http.Cookie{Name: m.cookieKey, Value: token}
http.SetCookie(w, html.SecureCookie(m.isProd, ck))

return nil
Expand Down

0 comments on commit 137a1e9

Please sign in to comment.