mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-26 19:36:29 +02:00
Fix des csrf
This commit is contained in:
parent
000ee8f2f2
commit
c80431e981
32 changed files with 666 additions and 282 deletions
|
@ -37,7 +37,7 @@
|
|||
<h3 class="panel-title"><i class="fa fa-user fa-fw"></i> Ajout d'un contact</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="<?php echo $this->generateUrl('contacts', 'create', array('csrf' => $_SESSION['csrf']));?>" method="POST">
|
||||
<form action="<?php echo $this->generateUrl('contacts', 'create', [$_SESSION['csrf']]);?>" method="POST">
|
||||
<div class="form-group">
|
||||
<label>Nom contact</label>
|
||||
<div class="form-group input-group">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue