Added the ability to manage users.

This commit is contained in:
kor-elf committed 2023-08-01 22:04:35 +06:00
1 parent dc6b6b0d42
commit 52c6fd88d7
37 files changed
+914 -6

No files matched your search

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