allow multiple prenames (spaces) for user registration

This commit is contained in:
coderkun 2014-04-26 13:46:36 +02:00
commit 8483e27ade

View file

@ -119,7 +119,7 @@
'prename' => array(
'minlength' => 2,
'maxlength' => 32,
'regex' => '/^\S*$/'
'regex' => '/^(\S| )*$/'
),
'surname' => array(
'minlength' => 2,