diff --git a/user.inc.php b/user.inc.php index 6fc7c72..ff6a923 100644 --- a/user.inc.php +++ b/user.inc.php @@ -466,7 +466,7 @@ function user_get_fields($userRoles = null){ // scrub for only valid roles, and fetch their special fields $enabledFields = array(); - $requiredFields = array(); + $requiredFields = array('firstname', 'lastname'); $roleFields = array(); foreach($userRoles as $role){ if(array_key_exists($role, $roles)){