From 1cbed113537eef0cffe36a72cb2d315adf7348a7 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Tue, 11 May 2021 22:40:43 +0530 Subject: Fixing issue with non-sso login for gmail + gdrive not working due to incompatible user-agent/browser version (#477) --- recipes/gmail/index.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'recipes/gmail') diff --git a/recipes/gmail/index.js b/recipes/gmail/index.js index 60f0971..309bb87 100644 --- a/recipes/gmail/index.js +++ b/recipes/gmail/index.js @@ -2,16 +2,4 @@ var os = require('os') module.exports = Franz => class Gmail extends Franz { - modifyRequestHeaders() { - return [ - { - headers: { - 'user-agent': window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g,"").trim(), - }, - requestFilters: { - urls: ['*://*/*'], - } - } - ] - } }; -- cgit v1.2.3-70-g09d2