Skip to content

Commit e8f13dc

Browse files
update fail message
1 parent 15e361f commit e8f13dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mnestix-proxy/Authentication/ApiKeyAuthentication/ApiKeyRequirementHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ private void SucceedRequirementIfApiKeyPresentAndValid(AuthorizationHandlerConte
5353
_httpContextAccessor.HttpContext?.Request.Method,
5454
_httpContextAccessor.HttpContext?.Request.Path);
5555
context.Fail(new AuthorizationFailureReason(this,
56-
"For all methods except 'GET' you need a valid ApiKey in your header."));
56+
"For all methods except 'GET' you need a valid X-API-KEY in your header."));
5757
}
5858
}

0 commit comments

Comments
 (0)