Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Kung <haok@microsoft.com>2021-07-15 20:42:21 +0300
committerWill Godbe <wigodbe@microsoft.com>2021-07-15 20:42:21 +0300
commit0a2e366eaf4d29b24b9a98e5782a04bef573189e (patch)
tree1532b1ca244b7cd9617889fbfceadb5814014a6f
parent55aef1fb9dbf1d1d3e5ec5d8edd19df872eedbad (diff)
Merged PR 15468: [3.1] Clean up loggingv3.1.18
Clean up logging
-rw-r--r--src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs b/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs
index a190613d9d..ab710cd1ff 100644
--- a/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs
+++ b/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs
@@ -171,7 +171,7 @@ namespace Microsoft.AspNetCore.Authentication.JwtBearer
return AuthenticateResult.Fail(authenticationFailedContext.Exception);
}
- return AuthenticateResult.Fail("No SecurityTokenValidator available for token: " + token ?? "[null]");
+ return AuthenticateResult.Fail("No SecurityTokenValidator available for token.");
}
catch (Exception ex)
{