passport local strategy not getting called

前端 未结 14 812
夕颜
夕颜 2020-12-13 04:31

I\'m sure I\'m missing something really obvious here, but I can\'t figure this out. The function I\'ve passed to the LocalStrategy constructor doesn\'t get called when the l

14条回答
  •  没有蜡笔的小新
    2020-12-13 04:54

    I think you submit the form with username or password field empty.

    If you fill both inputs then submit, LocalStrategy will be called.

提交回复
热议问题