diff --git a/src/www/system_usermanager_passwordmg.php b/src/www/system_usermanager_passwordmg.php index 8a779992a..2031777b6 100644 --- a/src/www/system_usermanager_passwordmg.php +++ b/src/www/system_usermanager_passwordmg.php @@ -36,7 +36,6 @@ if (session_status() == PHP_SESSION_NONE) { session_start(); } $username = $_SESSION['Username']; -session_write_close(); if (isset($_POST['save'])) { unset($input_errors); @@ -62,6 +61,8 @@ if (isset($_POST['save'])) { } } +session_write_close(); + /* determine if user is not local to system */ $islocal = false; foreach ($config['system']['user'] as $user) { @@ -85,10 +86,10 @@ include("head.inc");