Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 54a883d

Browse files
Correct validation message.
1 parent 72563e6 commit 54a883d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎controllers/AuthController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ exports.register = [
8585
* @returns {Object}
8686
*/
8787
exports.login = [
88-
body("email").isLength({ min: 1 }).trim().withMessage("Email name must be specified.")
88+
body("email").isLength({ min: 1 }).trim().withMessage("Email must be specified.")
8989
.isEmail().withMessage("Email must be a valid email address."),
9090
body("password").isLength({ min: 1 }).trim().withMessage("Password must be specified."),
9191
sanitizeBody("email").escape(),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /