📌  相关文章
📜  passport.authenticate 错误请求 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:00.187000             🧑  作者: Mango

代码示例1
passport looks for the username and the password fields in your account schema. 
I tried changing the names of the input elements I was using to get the 
data for my username and password fields to each one of them respectively
(they were previously inputEmail and inputPassword) and things 
started working.