|9.1.07] user check
This commit is contained in:
parent
33c414e548
commit
dcd8edbede
@ -49,7 +49,10 @@ class user extends common {
|
|||||||
$userLastname = $this->getInput('userAddLastname', helper::FILTER_STRING_SHORT, true);
|
$userLastname = $this->getInput('userAddLastname', helper::FILTER_STRING_SHORT, true);
|
||||||
$userMail = $this->getInput('userAddMail', helper::FILTER_MAIL, true);
|
$userMail = $this->getInput('userAddMail', helper::FILTER_MAIL, true);
|
||||||
// Pas de nom saisi
|
// Pas de nom saisi
|
||||||
if (empty($userFirstname) || empty($userLastname)) {
|
if (empty($userFirstname) ||
|
||||||
|
empty($userLastname) ||
|
||||||
|
empty($this->getInput('userAddPassword', helper::FILTER_STRING_SHORT, true)) ||
|
||||||
|
empty($this->getInput('userAddConfirmPassword', helper::FILTER_STRING_SHORT, true))) {
|
||||||
$check=false;
|
$check=false;
|
||||||
}
|
}
|
||||||
// Si tout est ok création effective
|
// Si tout est ok création effective
|
||||||
|
Loading…
Reference in New Issue
Block a user