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)