Skip to content

Commit

Permalink
Update UserAgent
Browse files Browse the repository at this point in the history
Make google accounts sync again.
  • Loading branch information
rubencarneiro authored Apr 15, 2020
1 parent 9a731b0 commit 197ccc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qml/google/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OAuthMain {
"AuthPath": "o/oauth2/auth?access_type=offline&approval_prompt=force"
}

userAgent: "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"
userAgent: "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 4 Build/LMY48T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.89 Mobile Safari/537.36"

function getUserName(reply, callback) {
console.log("Access token: " + reply.AccessToken)
Expand Down

0 comments on commit 197ccc9

Please sign in to comment.