diff --git a/html/user/create_account.php b/html/user/create_account.php index 73ff19805a..20fb6905c5 100644 --- a/html/user/create_account.php +++ b/html/user/create_account.php @@ -48,7 +48,7 @@ $passwd_hash = get_str("passwd_hash"); $user_name = get_str("user_name"); $team_name = get_str("team_name", true); -if (!is_valid_user_name($name, $reason)) { +if (!is_valid_user_name($user_name, $reason)) { xml_error(-188, $reason); }