Skip to content

Commit

Permalink
Restore session id change on logout (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
onli committed Apr 27, 2016
1 parent a8ac90c commit 73ea0c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/functions_config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ function serendipity_session_destroy() {
$no_smarty = $_SESSION['no_smarty'];
@session_destroy();
session_start();
session_regenerate_id();

$_SESSION['SERVER_GENERATED_SID'] = true;
$_SESSION['no_smarty'] = $no_smarty;
Expand Down

0 comments on commit 73ea0c4

Please sign in to comment.