From 760858dc7e44442e8558723c9e0005c5ad6ff654 Mon Sep 17 00:00:00 2001 From: Ann Catton Date: Wed, 10 Mar 2021 14:25:20 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20hide=20facebook=20login?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/login/index.tsx | 3 ++- global/types.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/pages/login/index.tsx b/components/pages/login/index.tsx index 123a5179..77873b7d 100644 --- a/components/pages/login/index.tsx +++ b/components/pages/login/index.tsx @@ -96,7 +96,8 @@ const providers: ProviderType[] = [ { name: 'Google', path: 'google', icon: GoogleLogo }, { name: 'ORCiD', path: 'orcid', icon: OrcidLogo }, { name: 'GitHub', path: 'github', icon: GitHubLogo }, - { name: 'Facebook', path: '', icon: FacebookLogo }, + // Facebook will be hidden until provider implementation is fixed in Ego https://github.com/overture-stack/ego/issues/555 + // { name: 'Facebook', path: '', icon: FacebookLogo }, { name: 'LinkedIn', path: 'linkedin', icon: LinkedInLogo }, ]; diff --git a/global/types.ts b/global/types.ts index 10631393..54af2cfb 100644 --- a/global/types.ts +++ b/global/types.ts @@ -18,7 +18,7 @@ export enum Language { export enum ProviderType { GOOGLE = 'GOOGLE', - FACEBOOK = 'FACEBOOK', + // FACEBOOK = 'FACEBOOK', // hide from allowed types, related to https://github.com/overture-stack/ego/issues/555 GITHUB = 'GITHUB', LINKEDIN = 'LINKEDIN', ORCID = 'ORCID',