From fcf93432fbec1b2cef7fe6229a87da7b578194bb Mon Sep 17 00:00:00 2001 From: Dmytro Momot Date: Fri, 23 Feb 2024 20:53:31 +0200 Subject: [PATCH] Update oauth2_handler_logger.go Fixed issue #1 --- svc/oauth/oauth2_handler_logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/oauth/oauth2_handler_logger.go b/svc/oauth/oauth2_handler_logger.go index c5c78f5..09db2d1 100644 --- a/svc/oauth/oauth2_handler_logger.go +++ b/svc/oauth/oauth2_handler_logger.go @@ -105,7 +105,7 @@ func (h *handlerLogger) UserAuthorizationHandler(w http.ResponseWriter, r *http. // PasswordAuthorizationHandler get user id from username and password // and logs the request and response. func (h *handlerLogger) PasswordAuthorizationHandler(ctx context.Context, clientID, username, password string) (userID string, err error) { - h.log.Debugf("PasswordAuthorizationHandler: clientID=%s, username=%s, password=%s", clientID, username, password) + h.log.Debugf("PasswordAuthorizationHandler: clientID=%s, username=%s", clientID, username) userID, err = h.Handler.PasswordAuthorizationHandler(ctx, clientID, username, password) if err != nil {