From 4f1c6316bb594e27a79824cac2fe093f600bdfb6 Mon Sep 17 00:00:00 2001 From: Git Date: Wed, 26 Aug 2015 08:00:27 +0000 Subject: [PATCH] Empty commit --- classes/script_start.php | 1 + design/privateheader.php | 1 + sections/user/take_edit.php | 1 + 3 files changed, 3 insertions(+) diff --git a/classes/script_start.php b/classes/script_start.php index b06c6cf3..1aaf61c4 100644 --- a/classes/script_start.php +++ b/classes/script_start.php @@ -373,6 +373,7 @@ function authorize($Ajax = false) { error(404); } + $StripPostKeys = array_fill_keys(array('password', 'cur_pass', 'new_pass_1', 'new_pass_2', 'verifypassword', 'confirm_password', 'ChangePassword', 'Password'), true); $Cache->cache_value('php_' . getmypid(), array( 'start' => sqltime(), diff --git a/design/privateheader.php b/design/privateheader.php index 895a18cc..7dc38c7e 100644 --- a/design/privateheader.php +++ b/design/privateheader.php @@ -399,6 +399,7 @@ $NotificationsManager->clear_notifications_array(); } + if (check_perms('users_mod')) { $ModBar[] = 'Toolbox'; } diff --git a/sections/user/take_edit.php b/sections/user/take_edit.php index 49ad00a5..e059d956 100644 --- a/sections/user/take_edit.php +++ b/sections/user/take_edit.php @@ -368,6 +368,7 @@ $DB->query($SQL); if ($ResetPassword) { + logout_all_sessions(); }