Skip to content

Commit

Permalink
Remove Facebook authentication (#133)
Browse files Browse the repository at this point in the history
Co-authored-by: Zenith Yap <[email protected]>
  • Loading branch information
zenithyap and Zenith Yap authored Nov 15, 2023
1 parent 290219b commit 08961cc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { useNavigate } from "react-router-dom";
import { auth } from "../../Firebase";
import {
GoogleAuthProvider,
FacebookAuthProvider,
GithubAuthProvider,
TwitterAuthProvider,
signInWithPopup,
Expand All @@ -21,7 +20,6 @@ import { IRoutes, getRoutes } from "../../../Routes";
interface SignInButtonProps {
provider:
| GoogleAuthProvider
| FacebookAuthProvider
| GithubAuthProvider
| TwitterAuthProvider;
iconImage: string;
Expand Down
7 changes: 0 additions & 7 deletions front-end/peer-prep/src/components/Auth/SignInPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ import { Navigate, useNavigate } from "react-router-dom";
import SignInButton from "./AuthButton/SignInButton";
import {
GoogleAuthProvider,
FacebookAuthProvider,
GithubAuthProvider,
TwitterAuthProvider,
} from "firebase/auth";

import googleIconImage from "../../../images/GoogleIcon.png";
import facebookIconImage from "../../../images/FacebookIcon.png";
import githubIconImage from "../../../images/GithubIcon.png";
import twitterIconImage from "../../../images/TwitterIcon.png";

Expand Down Expand Up @@ -233,11 +231,6 @@ const EmailAndPasswordContainer = () => {
iconImage={googleIconImage}
iconImageAlt="googleIcon"
/>
<SignInButton
provider={new FacebookAuthProvider()}
iconImage={facebookIconImage}
iconImageAlt="facebookIcon"
/>
<SignInButton
provider={new GithubAuthProvider()}
iconImage={githubIconImage}
Expand Down
Binary file removed front-end/peer-prep/src/images/FacebookIcon.png
Binary file not shown.

0 comments on commit 08961cc

Please sign in to comment.