- Переписан метод после валидации

parent af33aecd
......@@ -518,7 +518,7 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
parent::afterValidate();
if ($this->scenario===self::SCENARIO_REGISTRATION) {
return $this->afterRegistration(['email' => $this->email]);
$this->afterRegistration(['email' => $this->email]);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment