From 57db25d08a1ef2cd0b41f34e312b7b7c35c7ed38 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 22 Oct 2025 10:38:30 +0200 Subject: [PATCH] fix(http): remove auth query parameter --- http/auth.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/http/auth.go b/http/auth.go index 18d10025..3604c122 100644 --- a/http/auth.go +++ b/http/auth.go @@ -51,11 +51,6 @@ func (e extractor) ExtractToken(r *http.Request) (string, error) { return token, nil } - auth := r.URL.Query().Get("auth") - if auth != "" && strings.Count(auth, ".") == 2 { - return auth, nil - } - if r.Method == http.MethodGet { cookie, _ := r.Cookie("auth") if cookie != nil && strings.Count(cookie.Value, ".") == 2 {