lib: use cookie name consistently

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-03-25 20:13:51 -04:00
parent e8dc037281
commit a57f2b35d6
+1 -1
View File
@@ -247,7 +247,7 @@ func (s *Server) MaybeReverseProxy(w http.ResponseWriter, r *http.Request) {
return
}
ckie, err := r.Cookie(anubis.CookieName)
ckie, err := r.Cookie(s.opts.CookieName)
if err != nil {
lg.Debug("cookie not found", "path", r.URL.Path)
s.ClearCookie(w)