게스트 타입 추가
This commit is contained in:
@ -613,7 +613,7 @@ func (sh *subhandler) upgrade_nosession(w http.ResponseWriter, r *http.Request)
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if auth[0] != "Editor" {
|
if auth[0] != "Editor" && auth[0] != "Guest" {
|
||||||
w.WriteHeader(http.StatusBadRequest)
|
w.WriteHeader(http.StatusBadRequest)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user