fixed a regex issue causing a WARNING which was breaking ldap

This commit is contained in:
Th3R3p0 2017-03-21 20:45:20 -04:00
parent e5afab8429
commit e92895c7ca

View File

@ -120,7 +120,7 @@ class Auth extends CI_Controller
public public
function alpha_dash_dot($str) function alpha_dash_dot($str)
{ {
return (!preg_match("/^([-a-z0-9_-\.])+$/i", $str)) ? FALSE : TRUE; return (!preg_match("/^([-a-z0-9_\-\.])+$/i", $str)) ? FALSE : TRUE;
} }
} }
?> ?>