Update RegisterValidator.php

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

View File

@ -62,8 +62,8 @@ class RegisterValidator
if (
$this->loginIsAllowed($login) &&
!$this->loginIsMixed($login) &&
mb_strlen($login <= $this->loginLength['min']) &&
mb_strlen($login) >= $this->loginLength['max'] &&
mb_strlen($login) >= $this->loginLength['min'] &&
mb_strlen($login) <= $this->loginLength['max'] &&
!strpos("!@#$%^&*()\+|/'\"", $login)
) {
$this->login = $login;