Update RegisterValidator.php

Идиотские ошибки.
This commit is contained in:
Ivor Barhansky 2024-04-29 15:07:33 +00:00
parent 0dfe6adc8b
commit f88472c9a5

View File

@ -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;