feat: add email verification page and allow public access via middleware.
This commit is contained in:
@@ -2,7 +2,7 @@ import { auth } from "@/auth";
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
// Public routes that don't require authentication
|
||||
const publicRoutes = ["/login", "/signup", "/forgot-password", "/reset-password"];
|
||||
const publicRoutes = ["/login", "/signup", "/forgot-password", "/reset-password", "/verify-email"];
|
||||
|
||||
export default auth((req) => {
|
||||
const { nextUrl } = req;
|
||||
|
||||
Reference in New Issue
Block a user