Users created shouldnt be enabled by default, a user update job should enable users after checking guest status
This commit is contained in:
parent
67f78b2f5d
commit
1f4c5c9774
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user