public function validateCaptcha($attribute, $value, $parameters) { $captcha = Request::input("{$attribute}_hash"); $answered = !!Captcha::answerCaptcha($captcha, $value); return $answered; }
public function validateCaptcha($attribute, $value, $parameters) { $captcha = Request::input("{$attribute}_hash"); $answered = !!Captcha::answerCaptcha($captcha, $value); return $answered; }