diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-30 15:15:55 +0100 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-30 15:15:55 +0100 |
commit | f69f9b0811396a185dedb98b62f9f04f6f5694d9 (patch) | |
tree | 48d0e953ae6b1372d29dd31f76893aaca8c79be0 /app | |
parent | f998a17e6411492574d29ded7b7956a105cfdcad (diff) |
Use SHA-1 for session hash to avoid incompatibility between platforms
Diffstat (limited to 'app')
-rw-r--r-- | app/Core/Session/SessionManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Session/SessionManager.php b/app/Core/Session/SessionManager.php index 91b3cf10..4f9f2c0a 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', '7'); // 7 = sha512 (Fix compatibility issue with FreeBSD) + ini_set('session.hash_function', '1'); // 'sha512' is not compatible with FreeBSD, only MD5 '0' and SHA-1 '1' seems to work ini_set('session.hash_bits_per_character', 6); // Set an additional entropy |