From cc9aed61524a795d867da1549b99ebab89734e9a Mon Sep 17 00:00:00 2001 From: Tom Smith Date: Mon, 22 Mar 2021 14:48:58 -0400 Subject: [PATCH] change HTTP_X_CASTLE_CLIENT_ID -> X-Castle-Client-Id --- castle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/castle.go b/castle.go index fce78a1..4d2b292 100644 --- a/castle.go +++ b/castle.go @@ -107,7 +107,7 @@ func getClientID(r *http.Request) string { clientID = cidCookie.Value } - cidHeader := r.Header.Get("HTTP_X_CASTLE_CLIENT_ID") + cidHeader := r.Header.Get("X-Castle-Client-Id") if cidHeader != "" { clientID = cidHeader