Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1f4c5c9774 |
@ -152,7 +152,7 @@ abstract class Base
|
|||||||
if (! $o->exists) {
|
if (! $o->exists) {
|
||||||
$o->team_id = $this->enterprise_id ? NULL : $this->team()->id;
|
$o->team_id = $this->enterprise_id ? NULL : $this->team()->id;
|
||||||
$o->enterprise_id = ($x=$this->enterprise())->exists ? $x->id : NULL;
|
$o->enterprise_id = ($x=$this->enterprise())->exists ? $x->id : NULL;
|
||||||
$o->active = TRUE;
|
$o->active = FALSE;
|
||||||
$o->save();
|
$o->save();
|
||||||
|
|
||||||
Log::debug(sprintf('%s: User Created in DB [%s] (%s)',self::LOGKEY,$this->user_id,$o->id));
|
Log::debug(sprintf('%s: User Created in DB [%s] (%s)',self::LOGKEY,$this->user_id,$o->id));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user