www/engine/System/Classes/Modules/Auth/Controller/Login.php 1 location
|
@@ 47-49 (lines=3) @@
|
44 |
|
|
45 |
|
# Validate values |
46 |
|
|
47 |
|
if ((false === ($name = Validate::userName($name_email))) && |
48 |
|
|
49 |
|
(false === ($email = Validate::userEmail($name_email)))) return ['name_email', 'USER_ERROR_NAME_INVALID']; |
50 |
|
|
51 |
|
if (false === ($password = Validate::userPassword($password))) return ['password', 'USER_ERROR_PASSWORD_INVALID']; |
52 |
|
|
www/engine/System/Classes/Modules/Auth/Controller/Reset.php 1 location
|
@@ 47-49 (lines=3) @@
|
44 |
|
|
45 |
|
# Validate values |
46 |
|
|
47 |
|
if ((false === ($name = Validate::userName($name_email))) && |
48 |
|
|
49 |
|
(false === ($email = Validate::userEmail($name_email)))) return ['name_email', 'USER_ERROR_NAME_INVALID']; |
50 |
|
|
51 |
|
if (false === Security::checkCaptcha($captcha)) return ['captcha', 'USER_ERROR_CAPTCHA_INCORRECT']; |
52 |
|
|