mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-07 05:34:38 +08:00
fixing get config
This commit is contained in:
parent
39f0f46d3b
commit
6de7ec4cc5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue