|
@@ -51,7 +51,7 @@ func securityCheckServer(adminonly bool, next http.Handler) http.HandlerFunc {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if adminonly && !isadmin && !authenticateMasterServer(authToken) {
|
|
if adminonly && !isadmin && !authenticateMasterServer(authToken) {
|
|
- returnErrorResponse(w, r, errorResponse)W
|
|
|
|
|
|
+ returnErrorResponse(w, r, errorResponse)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
next.ServeHTTP(w, r)
|
|
next.ServeHTTP(w, r)
|