mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-04-11 13:49:43 +02:00
lib: use cookie name consistently
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user