Skip to content

Commit

Permalink
change error
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblakeley authored and buger committed Aug 6, 2018
1 parent b082594 commit 75ed927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mw_auth_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75ed927

Please sign in to comment.