Skip to content

Commit

Permalink
Fixed issue: [security] Possible session fixation on survey entry wit…
Browse files Browse the repository at this point in the history
…h token
  • Loading branch information
c-schmitz committed Dec 2, 2016
1 parent 5f5cce8 commit 47107ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/frontend_helper.php
Expand Up @@ -1656,6 +1656,7 @@ function renderRenderWayForm($renderWay, array $redata, array $scenarios, $sTemp
*/
function resetAllSessionVariables($surveyid)
{
Yii:app()->session->regenerateID(true);
unset($_SESSION['survey_'.$surveyid]['grouplist']);
unset($_SESSION['survey_'.$surveyid]['fieldarray']);
unset($_SESSION['survey_'.$surveyid]['insertarray']);
Expand Down

0 comments on commit 47107ee

Please sign in to comment.