diff options
-rw-r--r-- | xt/config/checksetup_answers.txt | 1 | ||||
-rwxr-xr-x | xt/config/generate_test_data.pl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/xt/config/checksetup_answers.txt b/xt/config/checksetup_answers.txt index 29a1563d6..77484c777 100644 --- a/xt/config/checksetup_answers.txt +++ b/xt/config/checksetup_answers.txt @@ -11,6 +11,7 @@ $answer{'db_mysql_ssl_client_cert'} = ''; $answer{'db_mysql_ssl_client_key'} = ''; $answer{'urlbase'} = 'http://localhost/bugzilla/'; + $answer{'use_email_as_login'} = 1; $answer{'create_htaccess'} = ''; $answer{'use_suexec'} = ''; $answer{'index_html'} = 0; diff --git a/xt/config/generate_test_data.pl b/xt/config/generate_test_data.pl index ce065998b..c3e8537c8 100755 --- a/xt/config/generate_test_data.pl +++ b/xt/config/generate_test_data.pl @@ -137,7 +137,7 @@ foreach my $username (@usernames) { $login ||= $config->{"${prefix}_user_login"}; my $api_key = $config->{"${prefix}_user_api_key"}; - if (is_available_username($login)) { + if (is_available_email($login)) { my %extra_args; if ($username eq 'disabled') { $extra_args{disabledtext} = '!!This is the text!!'; |