mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for validation when adding clients / new users
This commit is contained in:
parent
cdf78d90c7
commit
6b53322e95
@ -177,6 +177,8 @@ class StoreClientRequest extends Request
|
|||||||
$input['name'] = strip_tags($input['name']);
|
$input['name'] = strip_tags($input['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$input['id'] = null;
|
||||||
|
|
||||||
$this->replace($input);
|
$this->replace($input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,6 +95,8 @@ class StoreUserRequest extends Request
|
|||||||
$input['last_name'] = strip_tags($input['last_name']);
|
$input['last_name'] = strip_tags($input['last_name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$input['id'] = null;
|
||||||
|
|
||||||
$this->replace($input);
|
$this->replace($input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ class WebhookSingle implements ShouldQueue
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
(new SystemLogger(
|
(new SystemLogger(
|
||||||
['message' => $response->getBody()->getHeaders(), 'body' => $data],
|
['message' => $response->getHeaders(), 'body' => $data],
|
||||||
SystemLog::CATEGORY_WEBHOOK,
|
SystemLog::CATEGORY_WEBHOOK,
|
||||||
SystemLog::EVENT_WEBHOOK_SUCCESS,
|
SystemLog::EVENT_WEBHOOK_SUCCESS,
|
||||||
SystemLog::TYPE_WEBHOOK_RESPONSE,
|
SystemLog::TYPE_WEBHOOK_RESPONSE,
|
||||||
|
9678
public/vendor/livewire/livewire.js
vendored
9678
public/vendor/livewire/livewire.js
vendored
File diff suppressed because one or more lines are too long
103
public/vendor/livewire/livewire.min.js
vendored
Normal file
103
public/vendor/livewire/livewire.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user