summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Install.pm')
-rw-r--r--Bugzilla/Install.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm
index cffcc704b..5d18a9aac 100644
--- a/Bugzilla/Install.pm
+++ b/Bugzilla/Install.pm
@@ -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 });
}