This commit is contained in:
xdrm-brackets 2016-07-08 19:55:48 +02:00
parent 174ed80059
commit 3b8705b1c8
1 changed files with 1 additions and 5 deletions

View File

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