updated forms to protect them from spamming
This commit is contained in:
parent
0a46ccb018
commit
3d4500b846
4 changed files with 50 additions and 14 deletions
|
@ -178,6 +178,9 @@ class RepeatingEventController extends Controller
|
|||
|
||||
private function saveRepeatingEvent(Request $request, RepeatingEvent $entity)
|
||||
{
|
||||
if ( $request->get('origin')) {
|
||||
return false;
|
||||
}
|
||||
$location = $request->get('location');
|
||||
$location_lat = $request->get('location_lat');
|
||||
$location_lon = $request->get('location_lon');
|
||||
|
|
Reference in a new issue