Skip to content

Commit

Permalink
Merge branch 'release/v1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilLord666 committed Nov 28, 2021
2 parents e280911 + f633da3 commit 602e4e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ protected override async Task<AuthenticateResult> HandleAuthenticateAsync()
}
string authorizationKeyValue = Request.Headers[AuthorizationHeader].ToString();

// 2. Check presense of Bearer Token
if (!authorizationKeyValue.ToLowerInvariant().Contains(TokenAuthorizationScheme))
// 2. Check presenсe of Bearer Token
if (!authorizationKeyValue.ToLowerInvariant().Contains(TokenAuthorizationScheme.ToLowerInvariant()))
{
return AuthenticateResult.Fail("Non supporting authorization scheme, expecting \"Bearer + token\"!");
}
Expand Down

0 comments on commit 602e4e0

Please sign in to comment.