Added the ability to manage users.

This commit is contained in:
2023-08-01 22:04:35 +06:00
parent dc6b6b0d42
commit 52c6fd88d7
37 changed files with 914 additions and 6 deletions

View File

@@ -54,4 +54,9 @@ final readonly class UserCommandHandler
{
return Hash::make($password);
}
public function handleDestroy(User $user): void
{
$user->delete();
}
}