noauth에 인증 패스

This commit is contained in:
2023-08-23 23:02:14 +09:00
parent 400c7f6443
commit 6bae78a282

View File

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