Added oauth login
This commit is contained in:
@@ -18,6 +18,9 @@ trait NextKey
|
||||
static::creating(function($model)
|
||||
{
|
||||
$model->id = self::NextId();
|
||||
|
||||
if (! $model->site_id)
|
||||
$model->site_id = config('SITE_SETUP')->id;
|
||||
});
|
||||
|
||||
static::saved(function($model)
|
||||
|
Reference in New Issue
Block a user