- Добавлен метод авторизации пользователя

parent b70eba17
......@@ -698,7 +698,7 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
*/
public function authUser()
{
return true;
Yii::$app->user->login($this, $this->rememberMe ? 3600 * 24 * 30 : 0);
}
}
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