mirror of
https://github.com/rclone/rclone.git
synced 2025-12-21 02:33:49 +00:00
vendor: update all dependencies
This commit is contained in:
2
vendor/google.golang.org/appengine/remote_api/remote_api.go
generated
vendored
2
vendor/google.golang.org/appengine/remote_api/remote_api.go
generated
vendored
@@ -39,7 +39,7 @@ func handle(w http.ResponseWriter, req *http.Request) {
|
||||
)
|
||||
}
|
||||
|
||||
if u == nil || !u.Admin {
|
||||
if !appengine.IsDevAppServer() && (u == nil || !u.Admin) {
|
||||
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
|
||||
w.WriteHeader(http.StatusUnauthorized)
|
||||
io.WriteString(w, "You must be logged in as an administrator to access this.\n")
|
||||
|
||||
Reference in New Issue
Block a user