summaryrefslogtreecommitdiff
path: root/app/Core/Session
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-30 14:29:00 +0100
committerFrederic Guillot <fred@kanboard.net>2015-12-30 14:29:00 +0100
commit019d83f3fc57010af403274241c4921ffb184974 (patch)
tree10a673c9cba95ac24b4fe3ef2355ce9c9db74336 /app/Core/Session
parent108425b650938aedfd282cbea363f338c5b2d9c4 (diff)
Fix compatiblity issue with FreeBSD for session.hash_function
Diffstat (limited to 'app/Core/Session')
-rw-r--r--app/Core/Session/SessionManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Session/SessionManager.php b/app/Core/Session/SessionManager.php
index 776d02da..91b3cf10 100644
--- a/app/Core/Session/SessionManager.php
+++ b/app/Core/Session/SessionManager.php
@@ -100,7 +100,7 @@ class SessionManager extends Base
ini_set('session.use_strict_mode', '1');
// Better session hash
- ini_set('session.hash_function', 'sha512');
+ ini_set('session.hash_function', '7'); // 7 = sha512 (Fix compatibility issue with FreeBSD)
ini_set('session.hash_bits_per_character', 6);
// Set an additional entropy