summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit <git@what.cd>2015-08-26 08:00:27 +0000
committerGit <git@what.cd>2015-08-26 08:00:27 +0000
commit4f1c6316bb594e27a79824cac2fe093f600bdfb6 (patch)
treef8ae1821f17ede68c5c15fdc160f7134c87993c4
parentebe932fb36960c5ee8ed37f798c3055dc36964bf (diff)
downloadGazelle-4f1c6316bb594e27a79824cac2fe093f600bdfb6.zip
Gazelle-4f1c6316bb594e27a79824cac2fe093f600bdfb6.tar.gz
Gazelle-4f1c6316bb594e27a79824cac2fe093f600bdfb6.tar.bz2
Empty commit
-rw-r--r--classes/script_start.php1
-rw-r--r--design/privateheader.php1
-rw-r--r--sections/user/take_edit.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/classes/script_start.php b/classes/script_start.php
index b06c6cf..1aaf61c 100644
--- a/classes/script_start.php
+++ b/classes/script_start.php
@@ -373,6 +373,7 @@ if (!preg_match('/^[a-z0-9]+$/i', $Document)) {
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 895a18c..7dc38c7 100644
--- a/design/privateheader.php
+++ b/design/privateheader.php
@@ -399,6 +399,7 @@ if ($NotificationsManager->is_traditional(NotificationsManager::TORRENTS)) {
$NotificationsManager->clear_notifications_array();
}
+
if (check_perms('users_mod')) {
$ModBar[] = '<a href="tools.php">Toolbox</a>';
}
diff --git a/sections/user/take_edit.php b/sections/user/take_edit.php
index 49ad00a..e059d95 100644
--- a/sections/user/take_edit.php
+++ b/sections/user/take_edit.php
@@ -368,6 +368,7 @@ $SQL .= "WHERE m.ID = '".db_string($UserID)."'";
$DB->query($SQL);
if ($ResetPassword) {
+
logout_all_sessions();
}