summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_usermanager_passwordmg.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_usermanager_passwordmg.php')
-rw-r--r--usr/local/www/system_usermanager_passwordmg.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/system_usermanager_passwordmg.php b/usr/local/www/system_usermanager_passwordmg.php
index b8b3f76..fd41bc7 100644
--- a/usr/local/www/system_usermanager_passwordmg.php
+++ b/usr/local/www/system_usermanager_passwordmg.php
@@ -64,11 +64,15 @@ if (isset($_POST['save'])) {
}
}
+if (!session_id())
+ session_start();
+
/* determine if user is not local to system */
$islocal = false;
foreach($config['system']['user'] as $user)
if($user['name'] == $_SESSION['Username'])
$islocal = true;
+session_commit();
?>
OpenPOWER on IntegriCloud