Update utilisateur_ctrl.php

This commit is contained in:
kkuytgt090 2026-06-05 09:42:00 +02:00 committed by GitHub
parent 12c0182a72
commit f6d994a55b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ function add_utilisateurs_write_ctrl() {
if (!preg_match('/^[a-zA-Z0-9_-]+$/', $nom) || !preg_match('/^[a-zA-Z0-9_-]+$/', $login)) {
$_SESSION['notification'] = "<span style='color:red;'>Erreur : Le nom ou le login contient des caractère non autorisés.</span>";
require('views/add_utilisateur_form_view.php');
require('views/creation_compte_view.php');
} else {