From 9736c2cfa52c1c228b5cdcbbe7ffa439e776a9ae Mon Sep 17 00:00:00 2001 From: Dedden Date: Mon, 21 Aug 2017 13:00:45 -0700 Subject: [PATCH] update user.js fix a typo in the comment --- app/models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.js b/app/models/user.js index 5eefcb8..ea34b46 100644 --- a/app/models/user.js +++ b/app/models/user.js @@ -9,7 +9,7 @@ var nameValidator = [ validate({ validator: 'matches', arguments: /^(([a-zA-Z]{3,20})+[ ]+([a-zA-Z]{3,20})+)+$/, - message: 'Name must be at least 3 characters, max 30, no special characters or numbers, must have space in between name.' + message: 'Name must be at least 3 characters, max 20, no special characters or numbers, must have space in between name.' }), validate({ validator: 'isLength',