remove underscoe

This commit is contained in:
Thomas Zarebczan 2018-05-31 16:25:14 -04:00 committed by GitHub
parent 1ef078d2eb
commit bca2215faf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}