diff --git a/src/messenger/webim/operator/operator.php b/src/messenger/webim/operator/operator.php index ca50b4a5..5f871f69 100644 --- a/src/messenger/webim/operator/operator.php +++ b/src/messenger/webim/operator/operator.php @@ -38,7 +38,7 @@ if( isset($_POST['login']) && isset($_POST['password']) ) { if( !$login ) { $errors[] = no_field("form.field.login"); - } else if( !preg_match( "/^[\w_]+$/",$login) ) { + } else if( !preg_match( "/^[\w_\.]+$/",$login) ) { $errors[] = getlocal("page_agent.error.wrong_login"); }