From 03501da1ccd4926427a22df3139b5bc9706a956b Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag <benjamin@octopuce.fr> Date: Sat, 22 Dec 2018 15:56:50 +0100 Subject: [PATCH] fixing a bug with foreach() when asking for a password renewal --- app/controller/perso.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controller/perso.php b/app/controller/perso.php index ca2e079..82cb334 100644 --- a/app/controller/perso.php +++ b/app/controller/perso.php @@ -176,11 +176,14 @@ class Perso extends Controller ")."\n\n"; // Création de l'url d'administration $admin_url = "https://support.laquadrature.net/perso"; +/* @TODO @FIXME broken until fixed (le get ne retourne pas un tableau) foreach ($f3->get('languages') as $key => $language) { if ($f3->get('lang')==$language[1]) { $admin_url = "https://".$language[0].$f3->get('dev').".laquadrature.net/perso"; } } +*/ + $admin_url="https://soutien.laquadrature.net/perso"; // Remplacement des variables par leurs valeurs $fields = array( "PASSWORD" => $pass, -- GitLab