From 074f6c104f3e49401ef0065540338fc2d4be79f0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 23 Sep 2017 18:48:45 -0700 Subject: Avoid people to alter other projects by changing form data --- app/Template/action_creation/create.php | 1 - app/Template/action_creation/event.php | 1 - app/Template/action_creation/params.php | 1 - 3 files changed, 3 deletions(-) (limited to 'app/Template/action_creation') diff --git a/app/Template/action_creation/create.php b/app/Template/action_creation/create.php index 862ee474..a1169dca 100644 --- a/app/Template/action_creation/create.php +++ b/app/Template/action_creation/create.php @@ -3,7 +3,6 @@
form->csrf() ?> - form->hidden('project_id', $values) ?> form->label(t('Action'), 'action_name') ?> form->select('action_name', $available_actions, $values) ?> diff --git a/app/Template/action_creation/event.php b/app/Template/action_creation/event.php index e4166548..2ea72612 100644 --- a/app/Template/action_creation/event.php +++ b/app/Template/action_creation/event.php @@ -5,7 +5,6 @@ form->csrf() ?> - form->hidden('project_id', $values) ?> form->hidden('action_name', $values) ?> form->label(t('Action'), 'action_name') ?> diff --git a/app/Template/action_creation/params.php b/app/Template/action_creation/params.php index 0cc98f50..6c30d6c6 100644 --- a/app/Template/action_creation/params.php +++ b/app/Template/action_creation/params.php @@ -5,7 +5,6 @@ form->csrf() ?> - form->hidden('project_id', $values) ?> form->hidden('event_name', $values) ?> form->hidden('action_name', $values) ?> -- cgit v1.2.3