diff --git a/manager/Checker.php b/manager/Checker.php index 1a7b85f..c3e2cc2 100644 --- a/manager/Checker.php +++ b/manager/Checker.php @@ -101,13 +101,9 @@ break; case 'alphanumeric': - case 'user.username': - case 'group.name': - return $checker && is_string($value) && preg_match('/^[\w-]+$/i', $value); + return $checker && is_string($value) && preg_match('/^[\w\.-]+$/i', $value); break; - case 'user.firstname': - case 'user.lastname': case 'letters': return $checker && is_string($value) && preg_match('/^[a-z -]+$/i', $value); break;