Index: branches/5.1.x/core/units/users/users_config.php =================================================================== diff -u -N -r14029 -r14106 --- branches/5.1.x/core/units/users/users_config.php (.../users_config.php) (revision 14029) +++ branches/5.1.x/core/units/users/users_config.php (.../users_config.php) (revision 14106) @@ -1,6 +1,6 @@ Array ( 'PortalUserId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), - 'Login' => Array ('type' => 'string', 'unique'=>Array('Login'), 'default' => null,'required'=>1, 'error_msgs' => Array('unique'=>'!lu_user_already_exist!')), + 'Login' => Array ('type' => 'string', 'unique'=>Array('Login'), 'default' => null,'required'=>1, 'error_msgs' => Array('unique'=>'!lu_user_already_exist!', 'banned' => '!la_error_UserBanned!')), 'Password' => Array ('type' => 'string', 'formatter' => 'kPasswordFormatter', 'encryption_method' => 'md5', 'verify_field' => 'VerifyPassword', 'skip_empty' => 1, 'default' => md5('')), 'FirstName' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), 'LastName' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''),