mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
Fix des csrf
This commit is contained in:
parent
0f47389ae1
commit
2890e45003
32 changed files with 666 additions and 282 deletions
|
@ -37,7 +37,7 @@
|
|||
<h3 class="panel-title"><i class="fa fa-edit fa-fw"></i> Modification de contacts</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="<?php echo $this->generateUrl('contacts', 'update', array('csrf' => $_SESSION['csrf']));?>" method="POST">
|
||||
<form action="<?php echo $this->generateUrl('contacts', 'update', [$_SESSION['csrf']]);?>" method="POST">
|
||||
<?php
|
||||
foreach ($contacts as $contact)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue