No idea how this happened

This commit is contained in:
Melon 2024-02-15 15:19:14 +00:00
parent 374a708899
commit ca80b26f92
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -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