We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b078e4e commit 05930caCopy full SHA for 05930ca
middleware/passport.js
@@ -28,6 +28,7 @@ module.exports = async function checkAuth(ctx, next) {
28
29
if (db.find((q) => q.login === duser.login)) {
30
ctx.session.user = duser;
31
+ next();
32
return;
33
}
34
} catch (err) {
0 commit comments