From 6bae78a282fdc3c4ed700682e6fa77711c60c6f3 Mon Sep 17 00:00:00 2001 From: mountain Date: Wed, 23 Aug 2023 23:02:14 +0900 Subject: [PATCH] =?UTF-8?q?noauth=EC=97=90=20=EC=9D=B8=EC=A6=9D=20?= =?UTF-8?q?=ED=8C=A8=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wshandler/wshandler.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wshandler/wshandler.go b/wshandler/wshandler.go index a888470..ef36619 100644 --- a/wshandler/wshandler.go +++ b/wshandler/wshandler.go @@ -636,10 +636,6 @@ func (sh *subhandler) upgrade_nosession(w http.ResponseWriter, r *http.Request) return } - if auth[0] != "Editor" && auth[0] != "Guest" { - w.WriteHeader(http.StatusBadRequest) - return - } temp, err := hex.DecodeString(auth[1]) if err != nil { w.WriteHeader(http.StatusBadRequest)