ajouter affichage erreur inscription

This commit is contained in:
Yasder5 2026-02-11 18:21:19 +01:00
parent 9d3ff72100
commit 7ea2d1add5
9 changed files with 81 additions and 35 deletions

View file

@ -127,7 +127,6 @@ class UserCtrl extends MotherCtrl {
// Si pas d'erreurs => insertion
if (count($arrError) === 0) {
$objUserModel = new UserModel();
$boolInsert = $objUserModel->insert($objUser);
if ($objUserModel->mailExists($objUser->getMail())) {
@ -147,6 +146,7 @@ class UserCtrl extends MotherCtrl {
}
// Affichage de la vue inscription
var_dump($arrError);
$this->_arrData["arrError"] = $arrError;
$this->_display("inscription");
}