diff options
| author | Pitu <[email protected]> | 2017-01-30 05:16:08 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-30 05:16:08 -0300 |
| commit | 0540b0775d162b13c383b698cd338c8c861ac384 (patch) | |
| tree | 959b629ab7f7b578bd75d7bca33a878f9c41161e /controllers/authController.js | |
| parent | Etooo (diff) | |
| download | host.fuwn.me-0540b0775d162b13c383b698cd338c8c861ac384.tar.xz host.fuwn.me-0540b0775d162b13c383b698cd338c8c861ac384.zip | |
Fixed wrong error text
Diffstat (limited to 'controllers/authController.js')
| -rw-r--r-- | controllers/authController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/authController.js b/controllers/authController.js index 2773abe..0b398a1 100644 --- a/controllers/authController.js +++ b/controllers/authController.js @@ -37,7 +37,7 @@ authController.register = function(req, res, next){ if(password === undefined) return res.json({ success: false, description: 'No password provided' }) if(username.length < 4 || username.length > 32) - return res.json({ success: false, description: 'Username must have 6-32 characters' }) + return res.json({ success: false, description: 'Username must have 4-32 characters' }) if(password.length < 6 || password.length > 64) return res.json({ success: false, description: 'Password must have 6-64 characters' }) |