diff --git a/app/controller/perso.php b/app/controller/perso.php index 977db78e4c2421c6a3b1f6d8312ae92f8dbaced1..82622a72414d8718cf858ad420d21121a1042ad3 100644 --- a/app/controller/perso.php +++ b/app/controller/perso.php @@ -131,13 +131,11 @@ class Perso extends Controller $f3->set('block_content', 'user/perso.html'); } else { $f3->push('SESSION.error', _("Mauvais identifiant ou mot de passe.")); - Campaign::show($f3, $args); - return; } } else { - $f3->push('SESSION.error', _("Merci de renseigner une adresse mail.")); - Campaign::show($f3, $args); - return; + if ($f3->get('VERB') == 'POST') { + $f3->push('SESSION.error', _("Merci de renseigner une adresse mail.")); + } } Campaign::show($f3, $args); }