From c9ddfbba28a0c6e6dd7f87d15444ec08faec9ee7 Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Sat, 13 Sep 2025 09:11:11 -0500 Subject: [PATCH] Adding auth, media, and messaging. --- src/controllers/auth.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/auth.controller.js b/src/controllers/auth.controller.js index f676b30..080de3b 100644 --- a/src/controllers/auth.controller.js +++ b/src/controllers/auth.controller.js @@ -82,7 +82,7 @@ module.exports = { } logger.warn(user); logger.warn(password); - const isValid = await user.comparePassword(password, auth); + const isValid = await user.comparePassword(password); if (!isValid) { await user.failLogin(); return res.status(401).send({ success: false, user: null, token: null }); -- 2.43.0