KingWu opened this issue 6 years ago · 1 comments
Show the error ctx.login is not a function
Have you added the passport middleware before calling ctx.login?
ctx.login
app.use(passport.initialize()) app.use(passport.session())