|
|
@@ -268,6 +268,10 @@ module.exports = { |
|
|
|
if (credentials.username === '' || credentials.password === '') { |
|
|
|
msg.callback(messages.login.allFields); |
|
|
|
|
|
|
|
return; |
|
|
|
} else if (credentials.username.length > 32) { |
|
|
|
msg.callback(messages.login.maxUsernameLength); |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|