diff --git a/utils/token.ts b/utils/token.ts index 90dc2ff..ec61516 100644 --- a/utils/token.ts +++ b/utils/token.ts @@ -1,5 +1,4 @@ import currentEnv from '@/config'; -import { deleteCookie } from 'cookies-next'; import { jwtVerify } from 'jose'; @@ -13,7 +12,6 @@ export const validateToken = async (token: string) => { return payload; } catch (error) { - deleteCookie('token'); return null; } };