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:
parent
4bc07aacbf
commit
3d2daf9758
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user