Added the ability to manage users.
This commit is contained in:
@@ -54,4 +54,9 @@ final readonly class UserCommandHandler
|
||||
{
|
||||
return Hash::make($password);
|
||||
}
|
||||
|
||||
public function handleDestroy(User $user): void
|
||||
{
|
||||
$user->delete();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user