aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-20 19:24:39 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-20 19:24:39 +0000
commit4197ef8011f12610ce9ae284b18cac1e5174ffc5 (patch)
tree248e511f4ed0f2b2ec54b5cf546c3e5e3740c073
parent0f3892d8a732d965c58a4816ee7253ffda517ac3 (diff)
downloadelgg-4197ef8011f12610ce9ae284b18cac1e5174ffc5.tar.gz
elgg-4197ef8011f12610ce9ae284b18cac1e5174ffc5.tar.bz2
Added site secret to fingerprint to make it harder to guess
git-svn-id: https://code.elgg.org/elgg/trunk@2482 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/sessions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index 7ea650434..a3e36187f 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -281,7 +281,7 @@
{
global $CONFIG;
- return md5($_SERVER['HTTP_USER_AGENT'] );
+ return md5($_SERVER['HTTP_USER_AGENT'] . get_site_secret());
}
/**