From 338c26c86926dbaeb47d68a43470338ed6ba97b6 Mon Sep 17 00:00:00 2001 From: yznahmad Date: Mon, 23 Jun 2025 02:32:49 +0300 Subject: [PATCH] Add s s 8854yh49944j33..3404440400 --- webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx | 1 + webapp/src/app/api/auth/route.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx b/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx index 242c79a..6046558 100644 --- a/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx +++ b/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx @@ -34,6 +34,7 @@ export default function LocaleLayout({children} : { children : ReactNode }) { // if logged in this will fire function LoggedInCallback() { + console.log('SERVER ::: logged in') return router.push(authRedirectPage) } diff --git a/webapp/src/app/api/auth/route.ts b/webapp/src/app/api/auth/route.ts index d392fb9..86f627c 100644 --- a/webapp/src/app/api/auth/route.ts +++ b/webapp/src/app/api/auth/route.ts @@ -140,6 +140,7 @@ export async function GET(req: Request) // we throw error if expired if(userDoc.token.expiresAt < (Date.now() / 1000)) { + console.log('SERVER ::: token expired') throw { specialError : 'expiredToken' }