Add s s 8854yh49944j33..3404440400

This commit is contained in:
yznahmad 2025-06-23 02:32:49 +03:00
parent 1aae1ada38
commit 338c26c869
2 changed files with 2 additions and 0 deletions

View File

@ -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)
}

View File

@ -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'
}