mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
re-working validation
This commit is contained in:
parent
7c054c5e9b
commit
4bc07aacbf
@ -49,7 +49,7 @@ class RegisterRequest extends Request
|
|||||||
Log::info($key);
|
Log::info($key);
|
||||||
Log::info($value);
|
Log::info($value);
|
||||||
|
|
||||||
$error['error'] = $value;
|
$error['error'] = ['message'=>$value];
|
||||||
$error = json_encode($error, JSON_PRETTY_PRINT);
|
$error = json_encode($error, JSON_PRETTY_PRINT);
|
||||||
$headers = Utils::getApiHeaders();
|
$headers = Utils::getApiHeaders();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user