ajouter affichage erreur inscription
This commit is contained in:
parent
9d3ff72100
commit
7ea2d1add5
9 changed files with 81 additions and 35 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue