From d9945a520e9b5aa4040962ee15ff7287ecca8dc2 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Mon, 9 Mar 2020 09:57:03 +0100 Subject: [PATCH] fix(backup): set user-agent to `Chrome` for google oauth fix #3342 --- electron/walletBackup/gdrive/gdriveApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/walletBackup/gdrive/gdriveApi.js b/electron/walletBackup/gdrive/gdriveApi.js index 086a4a54de7..ec6a7ae0d4d 100644 --- a/electron/walletBackup/gdrive/gdriveApi.js +++ b/electron/walletBackup/gdrive/gdriveApi.js @@ -209,7 +209,7 @@ export function createAuthWindow(oAuthClient, scope, windowParams = { width: 500 handleNavigation(newUrl) }) - authWindow.loadURL(authUrl) + authWindow.loadURL(authUrl, { userAgent: 'Chrome' }) }) }