From ca80b26f9214c6de6db8508d5a3ba8b6882653aa Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Thu, 15 Feb 2024 15:19:14 +0000 Subject: [PATCH] No idea how this happened --- server/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/auth.go b/server/auth.go index 5cca1d3..972eda6 100644 --- a/server/auth.go +++ b/server/auth.go @@ -64,7 +64,7 @@ func (h *HttpServer) OptionalAuthentication(next UserHandler) httprouter.Handle } func (h *HttpServer) internalAuthenticationHandler(req *http.Request) (UserAuth, error) { - if loginCookie, err := req.Cookie("tulip-login-data"); err == nil { + if loginCookie, err := req.Cookie("lavender-login-data"); err == nil { _, b, err := mjwt.ExtractClaims[auth.AccessTokenClaims](h.signingKey, loginCookie.Value) if err != nil { return UserAuth{}, err