We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e57f64 commit c3b76b9Copy full SHA for c3b76b9
src/middleware.ts
@@ -6,7 +6,7 @@ export async function middleware(request: NextRequest) {
6
7
const userInfo = await getUserInfo()
8
9
- if (userInfo !== null &&
+ /*if (userInfo !== null &&
10
userInfo !== -1) {
11
//이메일 인증이 안된 유저는 리다이렉트
12
if (!userInfo.emailVerified &&
@@ -15,7 +15,7 @@ export async function middleware(request: NextRequest) {
15
{
16
return NextResponse.redirect(new URL('/email-verification', request.url))
17
}
18
- }
+ }*/
19
20
if (request.nextUrl.pathname.startsWith('/account') && !request.nextUrl.pathname.startsWith('/account/delete')) {
21
if (userInfo === null)
0 commit comments