From 1cb7f308ec72235b9381b61deddca47a647815d9 Mon Sep 17 00:00:00 2001 From: Doug Martin Date: Wed, 17 Jan 2024 13:44:26 -0500 Subject: [PATCH] fix: Remove select different account link for now [PT-186862486] Using this link is causing the oauth the request more scopes. Commenting it out for now until we figure it out. --- src/code/providers/google-drive-provider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/code/providers/google-drive-provider.ts b/src/code/providers/google-drive-provider.ts index 07c97305..5bfcfe4e 100644 --- a/src/code/providers/google-drive-provider.ts +++ b/src/code/providers/google-drive-provider.ts @@ -235,7 +235,8 @@ const GoogleFileDialogTabView = createReactClassFactory({ return ( div({ className: "provider-message" }, div({}, span({ style: { marginRight: 5 } }, tr("~GOOGLE_DRIVE.USERNAME_LABEL")), strong({}, user.name)), - div({ className: "provider-message-action", onClick: this.props.logout }, tr("~GOOGLE_DRIVE.SELECT_DIFFERENT_ACCOUNT")) + // HOTFIX: remove this until we can figure out why it is requesting more scopes + // div({ className: "provider-message-action", onClick: this.props.logout }, tr("~GOOGLE_DRIVE.SELECT_DIFFERENT_ACCOUNT")) ) ) }