protected function afterCreate(): void
{
$user = $this->record;
$token = app('auth.password.broker')->createToken($user);
$notification = new ResetPassword($token);
$notification->url = Filament::getResetPasswordUrl($token, $user);
$user->notify($notification);
}
protected function afterCreate(): void
{
$user = $this->record;
$token = app('auth.password.broker')->createToken($user);
$notification = new ResetPassword($token);
$notification->url = Filament::getResetPasswordUrl($token, $user);
$user->notify($notification);
}