diff --git a/view/template/acquisition/youtube_edit.php b/view/template/acquisition/youtube_edit.php index a85fbb2d..ee0b202c 100644 --- a/view/template/acquisition/youtube_edit.php +++ b/view/template/acquisition/youtube_edit.php @@ -5,7 +5,7 @@ $email = Request::encodeStringFromUser($_POST['new_email']); $sync_consent = isset($_POST['sync_consent']); -if (!preg_match("/@[A-Za-z0-9_-]+$/", $channel_name)) { +if (!preg_match("/@[A-Za-z0-9-]+$/", $channel_name)) { $channel_name = "@" . $channel_name; }