mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +03:00
allow dot in login
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@526 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
cc275561c0
commit
10f1a1744f
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user