fix registrasi

deskripsi:
- fix registrasi dan middleware
This commit is contained in:
2025-02-05 17:48:45 +08:00
parent d7252b9fb3
commit 61f8e03c73
10 changed files with 199 additions and 173 deletions

View File

@@ -101,7 +101,6 @@ export const middleware = async (req: NextRequest) => {
// Verify token and get user data
const user = await verifyToken({ token, encodedKey });
console.log("USER >>", user?.username);
// Handle login page access
if (pathname === loginPath) {