mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-21 13:15:51 -05:00
Fix CORS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user