Difference between the 2 passport.authenticate methods

前端 未结 0 1794
野性不改
野性不改 2021-01-06 15:37

It is the same login route. Just 2 different approaches.

First route

router.post(\'/login\', passport.authenticate(\'local\',{session:false}),async (r         


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