Skip to content

Commit

Permalink
Fix code scanning alert no. 7: Clear-text logging of sensitive inform…
Browse files Browse the repository at this point in the history
…ation (#412)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
mstmdev and github-advanced-security[bot] authored Dec 20, 2024
1 parent 6d08f31 commit bd273c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/client/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func SignIn(httpClient httputil.HttpClient, scheme, host, userName, password str
form := url.Values{}
form.Set(server.ParamUserName, userName)
form.Set(server.ParamPassword, password)
logger.Debug("try to auto login file server %s=%s %s=%s", server.ParamUserName, userName, server.ParamPassword, password)
logger.Debug("try to auto login file server %s=%s", server.ParamUserName, userName)
loginResp, err := httpClient.HttpPostWithoutRedirect(loginUrl, form)
if err != nil {
return nil, err
Expand Down

0 comments on commit bd273c9

Please sign in to comment.