Skip to content

Commit 6f66d7e

Browse files
Potential fix for code scanning alert no. 20: Clear text storage of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 655fb9a commit 6f66d7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TransactionProcessor.Mobile.BusinessLogic/Services/AuthenticationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public async Task<Result<TokenResponseModel>> GetToken(String username,
4646
//password = "123456";
4747

4848
Logger.LogInformation($"About to request token for {username}");
49-
Logger.LogDebug($"Token Request details UserName: {username} Password: {password} ClientId: {configuration.ClientId} ClientSecret: {configuration.ClientSecret}");
49+
Logger.LogDebug($"Token Request details UserName: {username} Password: ****** ClientId: {configuration.ClientId} ClientSecret: {configuration.ClientSecret}");
5050

5151
Result<TokenResponse> tokenResult =
5252
await this.SecurityServiceClient.GetToken(username, password, configuration.ClientId, configuration.ClientSecret, cancellationToken);

0 commit comments

Comments
 (0)