Skip to content

Commit

Permalink
Properly set cookie in update script
Browse files Browse the repository at this point in the history
  • Loading branch information
dongilbert committed May 16, 2017
1 parent a9d7f22 commit a8fcffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

$newSessionName = md5(md5($localConfigPath).$localParameters['secret_key']);

setcookie($newSessionName, $sessionValue);
setcookie($newSessionName, $sessionValue, 0, '/', '', false, true);

unset($_COOKIE['mautic_session_name']);
setcookie('mautic_session_name', null, -1);
Expand Down

0 comments on commit a8fcffe

Please sign in to comment.