Fix: Removing Duplicate Event Dispatching for UserCreated model
This commit is contained in:
1 parent
038ea05d56
commit
fe55cb5f33
1 file changed
-4
@@ -18,10 +18,6 @@ class User extends Authenticatable implements LunarUserInterface
|
|||||||
/** @use HasFactory<UserFactory> */
|
/** @use HasFactory<UserFactory> */
|
||||||
use HasFactory, Notifiable;
|
use HasFactory, Notifiable;
|
||||||
|
|
||||||
protected $dispatchesEvents = [
|
|
||||||
'created' => UserCreated::class,
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The attributes that are mass assignable.
|
* The attributes that are mass assignable.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user