修复登陆日志入库错误,升级部分composer依赖项;
临时修复登陆通知邮件不能多发的问题;
This commit is contained in:
@@ -28,8 +28,9 @@ class CLog extends \yii\db\ActiveRecord
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[['username', 'create_time'], 'string', 'max' => 32],
|
||||
[['ip', 'data'], 'string', 'max' => 64],
|
||||
[['username'], 'string', 'max' => 32],
|
||||
[['ip'], 'string', 'max' => 64],
|
||||
[['data'], 'string', 'max' => 500],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user