We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72563e6 commit 54a883dCopy full SHA for 54a883d
controllers/AuthController.js
@@ -85,7 +85,7 @@ exports.register = [
85
* @returns {Object}
86
*/
87
exports.login = [
88
- body("email").isLength({ min: 1 }).trim().withMessage("Email name must be specified.")
+ body("email").isLength({ min: 1 }).trim().withMessage("Email must be specified.")
89
.isEmail().withMessage("Email must be a valid email address."),
90
body("password").isLength({ min: 1 }).trim().withMessage("Password must be specified."),
91
sanitizeBody("email").escape(),
0 commit comments