Merge branch 'dev'
This commit is contained in:
commit
a4bb1f9090
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export default authMiddleware({
|
|||
}
|
||||
}
|
||||
if (!auth.userId && !auth.isPublicRoute) {
|
||||
redirectToSignIn({ returnBackUrl: req.url });
|
||||
return redirectToSignIn({ returnBackUrl: req.url });
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue