Index: branches/RC/core/units/users/users_config.php =================================================================== diff -u -N -r10433 -r10517 --- branches/RC/core/units/users/users_config.php (.../users_config.php) (revision 10433) +++ branches/RC/core/units/users/users_config.php (.../users_config.php) (revision 10517) @@ -226,6 +226,11 @@ 'RootPassword' => Array('type' => 'string', 'formatter' => 'kPasswordFormatter', 'encryption_method' => 'md5', 'verify_field' => 'VerifyRootPassword', 'skip_empty' => 1, 'default' => md5('') ), 'FullName' => Array ('type' => 'string', 'default' => ''), + 'UserGroup' => Array ( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %1$s FROM ' . TABLE_PREFIX . 'PortalGroup WHERE Enabled = 1 AND FrontRegistration = 1', 'option_key_field' => 'GroupId', 'option_title_field' => 'Name', + 'not_null' => 1, 'default' => 0, + ), ), 'Grids' => Array(