While I'm here, fix the case when the admin account has been removed.

This commit is contained in:
jim-p 2017-03-06 11:04:14 -05:00
parent 41e32578d8
commit 33d625f118

View File

@ -88,6 +88,7 @@ The User manager authentication server is set to "' . $config['system']['webgui'
$config['system']['user'] = array();
}
$config['system']['user'][] = $admin_user;
$admin_user =& getUserEntryByUID(0);
}
$admin_user['name'] = "admin";