Homeparty online, Cron SEPA
This commit is contained in:
parent
13fb2cfe98
commit
36872100c6
41 changed files with 1140 additions and 189 deletions
|
|
@ -65,7 +65,6 @@ class RegisterController extends Controller
|
|||
|
||||
public function register(){
|
||||
|
||||
|
||||
$rules = array(
|
||||
'salutation' => 'required',
|
||||
'first_name'=>'required',
|
||||
|
|
@ -74,13 +73,13 @@ class RegisterController extends Controller
|
|||
'email-confirm' => 'required|same:email',
|
||||
'password' => 'required|string|min:6|confirmed',
|
||||
'password_confirmation' => 'required|string|min:6',
|
||||
// 'g-recaptcha-response'=>'required|recaptcha',
|
||||
'g-recaptcha-response'=>'required|recaptcha',
|
||||
'accepted_data_protection' => 'required',
|
||||
);
|
||||
|
||||
/*Validator::extend('recaptcha', function($attribute, $value, $parameters, $validator) {
|
||||
Validator::extend('recaptcha', function($attribute, $value, $parameters, $validator) {
|
||||
return $this->reCaptcha_validate($attribute, $value, $parameters, $validator);
|
||||
});*/
|
||||
});
|
||||
|
||||
$validator = Validator::make(Request::all(), $rules);
|
||||
if ($validator->fails()) {
|
||||
|
|
@ -124,7 +123,7 @@ class RegisterController extends Controller
|
|||
];
|
||||
return view('web.templates.registrierung_finish', $data);
|
||||
}
|
||||
/*
|
||||
|
||||
private function reCaptcha_validate($attribute, $value, $parameters, $validator)
|
||||
{
|
||||
|
||||
|
|
@ -143,7 +142,7 @@ class RegisterController extends Controller
|
|||
$body = json_decode((string)$response->getBody());
|
||||
return $body->success;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue