diff --git a/src/pages/auth/login/index.tsx b/src/pages/auth/login/index.tsx index 82157b4b..bdd32f25 100644 --- a/src/pages/auth/login/index.tsx +++ b/src/pages/auth/login/index.tsx @@ -9,7 +9,7 @@ import CredentialsForm from "~/components/auth/credentialsForm"; import Link from "next/link"; import { api } from "~/utils/api"; -const Login = ({ title, oauthExlusiveLogin }) => { +const Login = ({ title, oauthExclusiveLogin, oauthEnabled }) => { const currentYear = new Date().getFullYear(); const { data: options, isLoading: loadingRegistration } = api.public.registrationAllowed.useQuery(); @@ -27,12 +27,15 @@ const Login = ({ title, oauthExlusiveLogin }) => {
Don't have an account?
@@ -58,11 +61,12 @@ interface Props { export const getServerSideProps: GetServerSideProps