diff --git a/apps/auth-proxy/routes/r/[...auth].ts b/apps/auth-proxy/routes/r/[...auth].ts index 202cfff..7609667 100644 --- a/apps/auth-proxy/routes/r/[...auth].ts +++ b/apps/auth-proxy/routes/r/[...auth].ts @@ -13,16 +13,6 @@ export default eventHandler(async (event) => clientId: process.env.AUTH_GOOGLE_ID, clientSecret: process.env.AUTH_GOOGLE_SECRET, }), - ], - callbacks: { - signIn({ user }) { - const email = user.email; - - if (!email?.endsWith("@husky.neu.edu")) { - return false; - } - return true; - }, - }, + ] }), ); diff --git a/apps/web/src/app/(pages)/(dashboard)/redirection/page.tsx b/apps/web/src/app/(pages)/(dashboard)/redirection/page.tsx index f2d04f6..93f4af1 100644 --- a/apps/web/src/app/(pages)/(dashboard)/redirection/page.tsx +++ b/apps/web/src/app/(pages)/(dashboard)/redirection/page.tsx @@ -1,17 +1,17 @@ -import React from "react"; - export default function ErrorPage() { return ( -
You must log in with husky.neu.edu
-+
You must log in with husky.neu.edu
+Click the sign in button to try again