Commit 0df807b5 authored by Matt Selsky's avatar Matt Selsky Committed by Frédéric Buclin

Bug 725373: Making someone an admin using checksetup.pl should enable their…

Bug 725373: Making someone an admin using checksetup.pl should enable their account if it's disabled r/a=LpSolit
parent 5f7d68ec
......@@ -378,6 +378,12 @@ sub make_admin {
write_params();
}
# Make sure the new admin isn't disabled
if ($user->disabledtext) {
$user->set_disabledtext('');
$user->update();
}
if (Bugzilla->usage_mode == USAGE_MODE_CMDLINE) {
say "\n", get_text('install_admin_created', { user => $user });
}
......
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