X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=blobdiff_plain;f=web%2Findex_wr.php;h=2d514af4e45413ca39960658e2bb25258f619888;hp=ea88b0f690a97e589e0ce8c276a11426b6fda5f7;hb=bbd72460bcf4269ffd21cfb97e0ab616ac7276e7;hpb=22d489aa1f47bfaec201d561c773d4649bbdae84 diff --git a/web/index_wr.php b/web/index_wr.php index ea88b0f..2d514af 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -243,6 +243,12 @@ function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) // check existence of username or email $is_trans = FALSE; do { + error_log($cli_name); + if (login_consistency($cli_name) == FALSE) { + $mesg_to_user = "Il nickname non è conforme alle regole per la sua costruzione."; + break; + } + if (($bdb = BriskDB::create()) == FALSE) { $mesg_to_user = "Connessione al database fallita"; break;