This commit is contained in:
Luke Berndt
2023-04-13 20:55:30 -04:00
parent d4204b87f1
commit f12d23d9c5
2 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,6 @@ If your site prefers to name these fields differently, options are available to
const local = new LocalStrategy({
usernameField: "email"
}, async (email, password, done) => {
console.log(`${email} ${password}`);
const user = await User.findOne({
$or: [{
email