Don´t prompt to 'Re-enter admin password' with --autoinstall

parent b1b1b8f2
...@@ -553,7 +553,7 @@ if($install_mode == 'standard' || strtolower($inst->simple_query('Install ISPCon ...@@ -553,7 +553,7 @@ if($install_mode == 'standard' || strtolower($inst->simple_query('Install ISPCon
//** Customise the port ISPConfig runs on //** Customise the port ISPConfig runs on
$ispconfig_vhost_port = $inst->free_query('ISPConfig Port', '8080','ispconfig_port'); $ispconfig_vhost_port = $inst->free_query('ISPConfig Port', '8080','ispconfig_port');
$conf['interface_password'] = $inst->free_query('Admin password', 'admin','ispconfig_admin_password'); $conf['interface_password'] = $inst->free_query('Admin password', 'admin','ispconfig_admin_password');
if($conf['interface_password'] != 'admin') { if(!AUTOINSTALL && $conf['interface_password'] != 'admin') {
$check = false; $check = false;
do { do {
unset($temp_password); unset($temp_password);
......
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