Closed Pavel12398 closed 6 years ago
When I enter recaptcha and all the fields leave blank when sending the form, I get an error curl_setopt_array(): Unable to create temporary file.
it RegisterController
public function setRegister(Request $request){ $this->validator($request->all())->validate(); } protected function validator(array $data) { return Validator::make($data, [ 'name' => 'nullable|string|between:3,16', 'family'=>'nullable|string|between:3,16', 'accountname'=>'required|alpha_num|between:6,20|unique:users', 'email' => 'required|email|max:60|unique:users', 'password' => 'required|string|between:6,20|confirmed', 'g-recaptcha-response' => 'required|captcha', ]); } it message 'custom' => [ 'g-recaptcha-response' => [ 'required' => 'Подтвердите, что вы не робот', 'captcha' => 'Ошибка recaptcha! обратитесь к администрации сайта.', ], ], form
version laravel 5.5 "php": ">=7.0.0", "anhskohbo/no-captcha": "^3.0",
This related to guzzle issue, see: https://github.com/guzzle/guzzle/issues/1363
When I enter recaptcha and all the fields leave blank when sending the form, I get an error curl_setopt_array(): Unable to create temporary file.
it RegisterController
public function setRegister(Request $request){ $this->validator($request->all())->validate(); } protected function validator(array $data) { return Validator::make($data, [
'name' => 'nullable|string|between:3,16', 'family'=>'nullable|string|between:3,16', 'accountname'=>'required|alpha_num|between:6,20|unique:users', 'email' => 'required|email|max:60|unique:users', 'password' => 'required|string|between:6,20|confirmed',
'g-recaptcha-response' => 'required|captcha', ]); } it message 'custom' => [ 'g-recaptcha-response' => [ 'required' => 'Подтвердите, что вы не робот', 'captcha' => 'Ошибка recaptcha! обратитесь к администрации сайта.', ], ], form
version laravel 5.5 "php": ">=7.0.0", "anhskohbo/no-captcha": "^3.0",