Skip to content

Commit

Permalink
Apply the temporary fix from #1158
Browse files Browse the repository at this point in the history
The issue seems to still be in place.
  • Loading branch information
jaimeperez authored and tvdijen committed Nov 2, 2019
1 parent 86cd5ff commit 43213fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SimpleSAML/SessionHandlerPHP.php
Expand Up @@ -163,7 +163,7 @@ public function restorePrevious()
public function newSessionId()
{
// generate new (secure) session id
if (function_exists('session_create_id')) {
if (function_exists('session_create_id') && version_compare(PHP_VERSION, '7.2', '<')) {
$sid_length = (int) ini_get('session.sid_length');
$sid_bits_per_char = (int) ini_get('session.sid_bits_per_character');

Expand Down

0 comments on commit 43213fb

Please sign in to comment.