Lint
This commit is contained in:
parent
a6569b6c94
commit
72f3963f8b
1 changed files with 3 additions and 0 deletions
|
@ -50,7 +50,10 @@ export default authMiddleware({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!auth.userId && !auth.isPublicRoute) {
|
if (!auth.userId && !auth.isPublicRoute) {
|
||||||
|
// This is annoying...
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-explicit-any
|
||||||
return redirectToSignIn({ returnBackUrl: req.url });
|
return redirectToSignIn({ returnBackUrl: req.url });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue