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