diff --git a/helpers/validateUser.js b/helpers/validateUser.js deleted file mode 100644 index c904bb4..0000000 --- a/helpers/validateUser.js +++ /dev/null @@ -1,9 +0,0 @@ -const validateUser = (email, password) => { - const validEmail = typeof email === "string" && email.trim() !== ""; - const validPassword = - typeof password === "string" && password.trim().length >= 6; - - return validEmail && validPassword; -}; - -module.exports = validateUser;