Commit be3d5a23 authored by David Lawrence's avatar David Lawrence

- Fix failing CI tests due to recent login/email changes

parent 3987a28e
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
$answer{'db_mysql_ssl_client_cert'} = ''; $answer{'db_mysql_ssl_client_cert'} = '';
$answer{'db_mysql_ssl_client_key'} = ''; $answer{'db_mysql_ssl_client_key'} = '';
$answer{'urlbase'} = 'http://localhost/bugzilla/'; $answer{'urlbase'} = 'http://localhost/bugzilla/';
$answer{'use_email_as_login'} = 1;
$answer{'create_htaccess'} = ''; $answer{'create_htaccess'} = '';
$answer{'use_suexec'} = ''; $answer{'use_suexec'} = '';
$answer{'index_html'} = 0; $answer{'index_html'} = 0;
......
...@@ -137,7 +137,7 @@ foreach my $username (@usernames) { ...@@ -137,7 +137,7 @@ foreach my $username (@usernames) {
$login ||= $config->{"${prefix}_user_login"}; $login ||= $config->{"${prefix}_user_login"};
my $api_key = $config->{"${prefix}_user_api_key"}; my $api_key = $config->{"${prefix}_user_api_key"};
if (is_available_username($login)) { if (is_available_email($login)) {
my %extra_args; my %extra_args;
if ($username eq 'disabled') { if ($username eq 'disabled') {
$extra_args{disabledtext} = '!!This is the text!!'; $extra_args{disabledtext} = '!!This is the text!!';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment