Commit 2c6d5a50 authored by xiabin's avatar xiabin

添加from

parent ac82906d
......@@ -59,6 +59,7 @@ class SignupForm extends Model
$user->logged_at = time();
$user->avatar = '';
$user->ip = Utils::getRealIP();
$user->from = $this->from;
if (!$user->save()) {
Yii::getLogger()->log($user->getErrors(), Logger::LEVEL_ERROR);
$user = NULL;
......
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