diff options
Diffstat (limited to 'dashboard/app/api.go')
| -rw-r--r-- | dashboard/app/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/app/api.go b/dashboard/app/api.go index 53803a5c2..7bdd3731b 100644 --- a/dashboard/app/api.go +++ b/dashboard/app/api.go @@ -111,7 +111,7 @@ func handleAPI(c context.Context, r *http.Request) (reply interface{}, err error return nil, err } // Somewhat confusingly the "key" parameter is the password. - ns, err := checkClient(client, r.PostFormValue("key"), subj) + ns, err := checkClient(config, client, r.PostFormValue("key"), subj) if err != nil { if client != "" { log.Errorf(c, "%v", err) |
