protected function validateRedirectUserRole()
    {
        $value = $this->getSubmitted('redirect');

        if (isset($value) && mb_strlen($value) > 255) {
            $this->setErrorLengthRange('redirect', $this->translation->text('Redirect'), 0, 255);
            return false;
        }

        return true;
    }