Skip to content

Commit

Permalink
Merge pull request laravel#15205 from laravel/revert-15170-fix-sessio…
Browse files Browse the repository at this point in the history
…n-collisions

Revert "[5.1] Fix session id collisions"
  • Loading branch information
GrahamCampbell authored Sep 1, 2016
2 parents 0135851 + 5b9a46e commit b278f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Session/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function isValidId($id)
*/
protected function generateSessionId()
{
return Str::random(40);
return sha1(uniqid('', true).Str::random(25).microtime(true));
}

/**
Expand Down

0 comments on commit b278f74

Please sign in to comment.