1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

re-working validation

This commit is contained in:
David Bomba 2016-03-13 23:04:27 +11:00
parent 4bc07aacbf
commit 3d2daf9758

View File

@ -36,9 +36,12 @@ class RegisterRequest extends Request
return $rules; return $rules;
} }
public function response(array $errors) public function response(Request $request, array $errors)
{ {
// return parent::response($errors); // TODO: Change the autogenerated stub // TODO: Change the autogenerated stub
if(!isset($request->api_secret))
return parent::response($errors);
Log::info($errors); Log::info($errors);