update login page

This commit is contained in:
smanylov
2026-04-06 17:04:53 +07:00
parent a301e57c8b
commit bac1151c8e
9 changed files with 82 additions and 86 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
'use server';
/* import 'server-only'; */
import { cookies } from 'next/headers'
import { SignJWT, jwtVerify } from 'jose'
import { cookies } from 'next/headers';
import { SignJWT, jwtVerify } from 'jose';
import { redirect } from 'next/navigation';
import { headers } from 'next/headers';
/* const secretKey = process.env.SESSION_SECRET */
const secretKey = 'AAA+sq1yKte/gMgUUu/B/OyXqr45/LMYplPVOlWc+uo='