passport js missing credentials

前端 未结 7 678
夕颜
夕颜 2020-12-31 02:03

Been working on this for a few hours now, pretty frustrating...

router.post(\'/\',
passport.authenticate(\'local-signup\', function(err, user, info) {
    co         


        
相关标签:
7条回答
  • 2020-12-31 02:47

    In my case I just miss spelled usernameField as usernameFiled.

    Make sure you spell correctly usernameField and passwordField.

    0 讨论(0)
提交回复
热议问题