From 4c5e470cafe7a7db304a1a8f1a913e2a6ffe4bdc Mon Sep 17 00:00:00 2001 From: ekzyis Date: Tue, 21 Nov 2023 02:45:51 +0100 Subject: [PATCH] Fix typo --- pages/login.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/login.js b/pages/login.js index e7bc47e2..d219888b 100644 --- a/pages/login.js +++ b/pages/login.js @@ -23,8 +23,8 @@ export async function getServerSideProps ({ req, res, query: { callbackUrl, mult } if (session && callbackUrl && !multiAuth) { - // in the cause of auth linking we want to pass the error back to settings - // in the case of multiauth, don't redirect if there is already a session + // in the case of auth linking we want to pass the error back to settings + // in the case of multi auth, don't redirect if there is already a session if (error) { const url = new URL(callbackUrl, process.env.PUBLIC_URL) url.searchParams.set('error', error)