Commit 30b5fd60 authored by Frank Becker's avatar Frank Becker Committed by Dylan William Hardison

Bug 1296570 - can not create admin user when use_email_as_login = 1

parent e480f655
......@@ -346,7 +346,7 @@ sub create_admin {
$login = <STDIN>;
chomp $login if defined $login;
}
Bugzilla::User->check_login_name($login);
Bugzilla::User->check_login_name($login, undef, {email => $email});
if (not defined $full_name) {
print get_text('install_admin_get_name') . ' ';
......
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