diff options
author | Hao Kung <haok@microsoft.com> | 2021-07-15 20:42:21 +0300 |
---|---|---|
committer | Will Godbe <wigodbe@microsoft.com> | 2021-07-15 20:42:21 +0300 |
commit | 0a2e366eaf4d29b24b9a98e5782a04bef573189e (patch) | |
tree | 1532b1ca244b7cd9617889fbfceadb5814014a6f | |
parent | 55aef1fb9dbf1d1d3e5ec5d8edd19df872eedbad (diff) |
Merged PR 15468: [3.1] Clean up loggingv3.1.18
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 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) { |