Jump to content

Edit History

jajalfplv

jajalfplv


translation

controllers / front / authcontroller Ajoutez ces lignes dans la fonction protégée processSubmitAccount ()

 

 if (! Validate :: isName (str_replace ('www.', '$ www', $ _ POST ['nom' ')))) {
                $ this-> errors [] = Tools :: displayError (' invalid name. ') ;
            }

 

 

simple and it works

jajalfplv

jajalfplv

controllers/front/authcontroller  Add this lines in the     protected function processSubmitAccount()

 

 if (!Validate::isName(str_replace('www.','$www',$_POST['lastname']))) {
                $this->errors[] = Tools::displayError('Nom invalide.');
            }

 

 

simple and it works

×
×
  • Create New...