This commit is contained in:
f4ilji
2024-11-11 16:32:16 +05:00
parent 55741ac28b
commit aeb9157a5a
4 changed files with 6 additions and 15 deletions
@@ -14,6 +14,7 @@ class CreateUser extends CreateRecord
protected function mutateFormDataBeforeCreate(array $data): array
{
$data['slug'] = $this->generateUniqueSlug($data['name']);
return $data;
}