diff --git a/src/Base.php b/src/Base.php index 218daa5..48b59df 100644 --- a/src/Base.php +++ b/src/Base.php @@ -152,7 +152,7 @@ abstract class Base if (! $o->exists) { $o->team_id = $this->enterprise_id ? NULL : $this->team()->id; $o->enterprise_id = ($x=$this->enterprise())->exists ? $x->id : NULL; - $o->active = TRUE; + $o->active = FALSE; $o->save(); Log::debug(sprintf('%s: User Created in DB [%s] (%s)',self::LOGKEY,$this->user_id,$o->id));