Using a condition in passport.authenticate successRedirect

后端 未结 0 576
南旧
南旧 2021-01-23 01:35

So, my current code works this is it

this is the routes

router.get(\'/user/login\', renderLoginForm);
router.post(\'/user/login\', login);

相关标签:
回答
  • 消灭零回复
提交回复
热议问题