noauth에 인증 패스
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user