fixing get config

This commit is contained in:
afeiszli 2021-08-19 19:03:14 -04:00
parent 39f0f46d3b
commit 6de7ec4cc5

View file

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