Changeset 5773 for trunk/phpgwapi/inc/class.auth_ldap.inc.php
- Timestamp:
- 03/21/12 14:00:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.auth_ldap.inc.php
r5141 r5773 31 31 function authenticate($username, $passwd) 32 32 { 33 if ( ereg('[()|&=*,<>!~]',$username))33 if (preg_match('/[()|&=*,<>!~]/',$username)) 34 34 { 35 35 return False;
Note: See TracChangeset
for help on using the changeset viewer.