Commit 03501da1 authored by Benjamin Sonntag's avatar Benjamin Sonntag Committed by root

fixing a bug with foreach() when asking for a password renewal

parent 385a65cb
Pipeline #2366 failed with stages
in 2822 minutes and 28 seconds
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment