updated forms to protect them from spamming

This commit is contained in:
andibraeu 2015-06-14 15:05:09 +02:00
parent 0a46ccb018
commit 3d4500b846
4 changed files with 50 additions and 14 deletions

View file

@ -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');