aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/actions.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/actions.php')
-rw-r--r--engine/lib/actions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index 76913f2b4..a78072f31 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -177,8 +177,11 @@
// Get user agent
$ua = $_SERVER['HTTP_USER_AGENT'];
+ // Session token
+ $st = $_SESSION['__elgg_session'];
+
if (($site_secret) && ($session_id))
- return md5($site_secret.$timestamp.$session_id.$ua);
+ return md5($site_secret.$timestamp.$session_id.$ua.$st);
return false;
}