diff --git a/Controleur/ControleurRemboursement.php b/Controleur/ControleurRemboursement.php
index 927909b..5799a3c 100755
--- a/Controleur/ControleurRemboursement.php
+++ b/Controleur/ControleurRemboursement.php
@@ -29,20 +29,13 @@ class ControleurRemboursement extends Controleur {
{
$csrf_token = trim($this->requete->getParametreFormulaire("csrf_token_upload"));
- var_dump(
- array(
- "csrf_token_upload" => $csrf_token,
- )
- );
- exit;
-
if (!Csrf::validateToken($csrf_token)) {
$_SESSION['flash_error'] = 'Votre session a expiré. Veuillez réessayer.';
+
+ header('Location: ' . $_SERVER['HTTP_REFERER']);
exit;
}
- var_dump($_SESSION['cheminGed']);
-
define('TARGET', $_SESSION['cheminGed']); // Repertoire cible
define('MAX_SIZE', 10000000); // Taille max en octets du fichier
diff --git a/Js/fonctions.js b/Js/fonctions.js
index c072b85..fa0feeb 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -19264,6 +19264,5 @@ function charger_csrf_token(v_data)
}else{
v_data += '&csrf_token=' + csrf_token;
}
- alert("charger_csrf_token => "+v_data);
return v_data;
}
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index 3e1050e..89b2a7a 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -525,7 +525,7 @@
-
+