Created
November 6, 2015 08:32
-
-
Save incrize/375c60028e2454a83a29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/Tygh/Session.php b/app/Tygh/Session.php | |
index d5ac870..9b79a72 100644 | |
--- a/app/Tygh/Session.php | |
+++ b/app/Tygh/Session.php | |
@@ -435,7 +435,7 @@ class Session | |
ini_set('session.hash_bits_per_character', 4); // 4 bits for character, so we'll have 128/4 = 32 bytes hash length | |
// Secure session cookie with HTTPONLY parameter | |
- session_set_cookie_params(self::$ttl_storage, $cookie_path, $cookie_domain, false, true); | |
+ session_set_cookie_params(self::$ttl_storage, $cookie_path, $cookie_domain, true, true); | |
} | |
/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment