diff --git a/src/pages/auth/signin.tsx b/src/pages/auth/signin.tsx index ba9244f..d6d3bc1 100644 --- a/src/pages/auth/signin.tsx +++ b/src/pages/auth/signin.tsx @@ -39,6 +39,7 @@ const otpSchema = z.object({ otp: z.string({ required_error: 'OTP is required' }).length(5, { message: 'Invalid OTP' }), }); + const Home: NextPage<{ authProviders: string; feedbackEmail: string }> = ({ authProviders, feedbackEmail, @@ -183,6 +184,7 @@ const Home: NextPage<{ authProviders: string; feedbackEmail: string }> = ({ ))}
Trouble logging in? contact
+
{feedbackEmail ?? ''}
@@ -198,6 +200,7 @@ export default Home;
export const getServerSideProps: GetServerSideProps = async (context) => {
const session = await getServerAuthSession(context);
+ const feedbackEmail = process.env.FEEDBACK_EMAIL;
if (session) {
return {