mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
fixed a regex issue causing a WARNING which was breaking ldap
This commit is contained in:
parent
e5afab8429
commit
e92895c7ca
@ -120,7 +120,7 @@ class Auth extends CI_Controller
|
||||
public
|
||||
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;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user