cleanup
This commit is contained in:
parent
9b1d9e7a1c
commit
413a6e33c7
1 changed files with 0 additions and 1 deletions
|
@ -270,7 +270,6 @@ func (a *API) handleGetSubTree(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
// TODO: Check token
|
||||
if sharing == nil || !(sharing.ID == rootID && sharing.Enabled && sharing.Token == readToken) {
|
||||
log.Printf(`handleGetSubTree public unauthorized, rootID: %v`, rootID)
|
||||
errorResponse(w, http.StatusUnauthorized, nil)
|
||||
|
|
Loading…
Reference in a new issue