diff options
author | Hao Kung <haok@microsoft.com> | 2021-07-15 20:42:11 +0300 |
---|---|---|
committer | Will Godbe <wigodbe@microsoft.com> | 2021-07-15 20:42:11 +0300 |
commit | c663adee8e64ba5d379fa0edfb8201984a7df7d0 (patch) | |
tree | 000291a113596fdbf5efd7e2d3b683ee194876a1 | |
parent | 3aeeedcb084e1c1c6ac7fe3fe32079d5c7bc2596 (diff) |
Merged PR 15469: Clean up loggingv5.0.9
Clean up logging
-rw-r--r-- | src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs | 2 |
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 0ad6c8308e..fc217fb064 100644 --- a/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs +++ b/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs @@ -178,7 +178,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) { |