Skip to content

Commit

Permalink
Fixed issue #14991: Existing user information shown when using public…
Browse files Browse the repository at this point in the history
… registration and re-registering an existing email address.
  • Loading branch information
dominikvitt committed Jun 27, 2019
1 parent 19a22d6 commit a63296e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/RegisterController.php
Expand Up @@ -202,8 +202,8 @@ public function getRegisterSuccess($iSurveyId, $iTokenId)
$aData['active'] = $oSurvey->active;
$aData['iSurveyId'] = $iSurveyId;
$aData['sLanguage'] = App()->language;
$aData['sFirstName'] = $oToken->firstname;
$aData['sLastName'] = $oToken->lastname;
$aData['sFirstName'] = Yii::app()->request->getPost('register_firstname', '');
$aData['sLastName'] = Yii::app()->request->getPost('register_lastname', '');
$aData['sEmail'] = $oToken->email;
$aData['thissurvey'] = $oSurvey->attributes;

Expand Down

0 comments on commit a63296e

Please sign in to comment.