wizard: good question. the answer is: nope

This commit is contained in:
Franco Fichtner 2017-12-18 08:36:43 +01:00
parent 15355008c9
commit 427b9c1220

View File

@ -558,8 +558,6 @@ if (!empty($_POST['adminpassword']) || !empty($_POST['adminpasswordagain'])) {
$admin_user = &getUserEntryByUID(0);
local_user_set_password($admin_user, $_POST['adminpassword']);
local_user_set($admin_user);
/* XXX should this relly be written here? */
write_config();
} else {
$input_errors[] = gettext('Passwords do not match.');
}