Skip to content

Commit

Permalink
Remove commented social login code
Browse files Browse the repository at this point in the history
  • Loading branch information
kcze committed Dec 28, 2024
1 parent 70fa8d4 commit 3693f79
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions autogpt_platform/frontend/src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default function LoginPage() {
},
});

// TODO: uncomment when we enable social login
// const onProviderLogin = useCallback(async (
// provider: LoginProvider,
// ) => {
Expand Down Expand Up @@ -94,38 +95,6 @@ export default function LoginPage() {
return (
<AuthCard>
<AuthHeader>Login to your account</AuthHeader>
{/* <div className="mb-6 space-y-2">
<Button
className="w-full"
onClick={() => onProviderLogin("google")}
variant="outline"
type="button"
disabled={isLoading}
>
<FaGoogle className="mr-2 h-4 w-4" />
Sign in with Google
</Button>
<Button
className="w-full"
onClick={() => onProviderLogin("github")}
variant="outline"
type="button"
disabled={isLoading}
>
<FaGithub className="mr-2 h-4 w-4" />
Sign in with GitHub
</Button>
<Button
className="w-full"
onClick={() => onProviderLogin("discord")}
variant="outline"
type="button"
disabled={isLoading}
>
<FaDiscord className="mr-2 h-4 w-4" />
Sign in with Discord
</Button>
</div> */}
<Form {...form}>
<form onSubmit={form.handleSubmit(onLogin)}>
<FormField
Expand Down

0 comments on commit 3693f79

Please sign in to comment.