From 07d0aa993bbd8cefd9ed31223638fced2bc9c900 Mon Sep 17 00:00:00 2001 From: joshblakeley Date: Tue, 31 Jul 2018 09:43:34 +0100 Subject: [PATCH] change error --- mw_auth_key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mw_auth_key.go b/mw_auth_key.go index 4a523ea09e8..fdecd8b917c 100644 --- a/mw_auth_key.go +++ b/mw_auth_key.go @@ -96,7 +96,7 @@ func (k *AuthKey) ProcessRequest(w http.ResponseWriter, r *http.Request, _ inter // Report in health check reportHealthValue(k.Spec, KeyFailure, "1") - return errors.New("Key not authorised"), http.StatusForbidden + return errors.New("Access to this API has been disallowed"), http.StatusForbidden } // Set session state on context, we will need it later