mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
re-working validation
This commit is contained in:
parent
b244f8034b
commit
7c054c5e9b
@ -44,6 +44,11 @@ class RegisterRequest extends Request
|
||||
|
||||
foreach($errors as $err) {
|
||||
foreach ($err as $key => $value) {
|
||||
|
||||
Log::info($err);
|
||||
Log::info($key);
|
||||
Log::info($value);
|
||||
|
||||
$error['error'] = $value;
|
||||
$error = json_encode($error, JSON_PRETTY_PRINT);
|
||||
$headers = Utils::getApiHeaders();
|
||||
|
Loading…
x
Reference in New Issue
Block a user