Update RegisterValidator.php
Идиотские ошибки.
This commit is contained in:
parent
0dfe6adc8b
commit
f88472c9a5
@ -62,8 +62,8 @@ class RegisterValidator
|
|||||||
if (
|
if (
|
||||||
$this->loginIsAllowed($login) &&
|
$this->loginIsAllowed($login) &&
|
||||||
!$this->loginIsMixed($login) &&
|
!$this->loginIsMixed($login) &&
|
||||||
mb_strlen($login <= $this->loginLength['min']) &&
|
mb_strlen($login) >= $this->loginLength['min'] &&
|
||||||
mb_strlen($login) >= $this->loginLength['max'] &&
|
mb_strlen($login) <= $this->loginLength['max'] &&
|
||||||
!strpos("!@#$%^&*()\+|/'\"", $login)
|
!strpos("!@#$%^&*()\+|/'\"", $login)
|
||||||
) {
|
) {
|
||||||
$this->login = $login;
|
$this->login = $login;
|
||||||
|
Loading…
Reference in New Issue
Block a user