Skip to content

Commit

Permalink
Merge pull request Versent#806 from jmctune/googleapps-js-fix
Browse files Browse the repository at this point in the history
Change `bgresponse` to `js_enabled`
  • Loading branch information
wolfeidau authored Apr 29, 2022
2 parents 406bc76 + 209f3f6 commit df3f6cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/provider/googleapps/googleapps.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (kc *Client) loadFirstPage(loginDetails *creds.LoginDetails) (string, url.V
if loginPageV1 {
// Login page v1
postForm = url.Values{
"bgresponse": []string{"js_disabled"},
"bgresponse": []string{"js_enabled"},
"checkConnection": []string{""},
"checkedDomains": []string{"youtube"},
"continue": []string{authForm.Get("continue")},
Expand Down Expand Up @@ -277,7 +277,7 @@ func (kc *Client) loadFirstPage(loginDetails *creds.LoginDetails) (string, url.V
"Email": []string{""},
"Passwd": []string{""},
"TrustDevice": []string{"on"},
"bgresponse": []string{"js_disabled"},
"bgresponse": []string{"js_enabled"},
}
for _, k := range []string{"TL", "gxf"} {
if v, ok := authForm[k]; ok {
Expand Down

0 comments on commit df3f6cf

Please sign in to comment.