12 if (isset($_GET[
'email'], $_GET[
'activkey'])) {
15 if (($userChangePasswordData = Yii::app()->user->getState(
'UserChangePassword')) != null) {
16 $model->attributes = $userChangePasswordData[
'attributes'];
17 foreach ($userChangePasswordData[
'errors'] as $attribute => $errors) {
18 foreach ($errors as $e) {
19 $model->addError($attribute, $e);
22 Yii::app()->user->setState(
'UserChangePassword', null);
25 $this->render(
'UserRecoveryPasswordChangeWidget', array(
'model' => $model,
'email' => $_GET[
'email'],
'activkey' => $_GET[
'activkey']));
28 $this->render(
'UserRecoveryPasswordChangeWidget');