Bug fix
This commit is contained in:
@@ -2,7 +2,6 @@ const restrictedPaths = ["/topics", "/quiz"];
|
||||
|
||||
const authMiddleware = async (context, next) => {
|
||||
const user = await context.state.session.get("user");
|
||||
console.log(user);
|
||||
if (
|
||||
!user &&
|
||||
restrictedPaths.some((path) =>
|
||||
|
||||
Reference in New Issue
Block a user