Skip to content

Commit

Permalink
Merge pull request #1119 from alFReD-NSH/patch-1
Browse files Browse the repository at this point in the history
Use logger instead of fmt.Println in brwoser.go
  • Loading branch information
mapkon authored Sep 5, 2023
2 parents 7494170 + cbc1c78 commit b0bd8f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/provider/browser/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package browser

import (
"errors"
"fmt"
"net/url"
"regexp"

Expand Down Expand Up @@ -94,7 +93,7 @@ var getSAMLResponse = func(page playwright.Page, loginDetails *creds.LoginDetail
return "", err
}

fmt.Println("waiting ...")
logger.Info("waiting ...")
r, _ := page.WaitForRequest(signin_re)
data, err := r.PostData()
if err != nil {
Expand Down

0 comments on commit b0bd8f0

Please sign in to comment.