Skip to content

Commit

Permalink
Update oauth2_handler_logger.go
Browse files Browse the repository at this point in the history
Fixed issue #1
  • Loading branch information
dmitrymomot authored Feb 23, 2024
1 parent 33c60af commit fcf9343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svc/oauth/oauth2_handler_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fcf9343

Please sign in to comment.