We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b9a096 + 0003a66 commit 7ee3bfeCopy full SHA for 7ee3bfe
src/Nullinside.Api.Common.AspNetCore/Middleware/BasicAuthenticationHandler.cs
@@ -60,7 +60,7 @@ protected override async Task<AuthenticateResult> HandleAuthenticateAsync() {
60
.Include(i => i.Roles)
61
.AsNoTracking()
62
.FirstOrDefaultAsync(u => !string.IsNullOrWhiteSpace(u.Token) &&
63
- u.Token.Equals(token, StringComparison.InvariantCultureIgnoreCase) &&
+ u.Token == token &&
64
!u.IsBanned);
65
66
if (null == dbUser) {
0 commit comments