diff options
author | Gabriel Birke <Gabriel.Birke@delti.com> | 2008-02-13 20:43:42 +0100 |
---|---|---|
committer | Gabriel Birke <Gabriel.Birke@delti.com> | 2008-02-13 20:43:42 +0100 |
commit | 4f9cc56741214b111fb110f1bb8279bc7025866c (patch) | |
tree | 63b1b7c4f29d46e079108d3930bdee1e697c7cc2 | |
parent | 14f6540fe0436ed2fa56b0b8683d1f071a0c799f (diff) | |
download | rpg-4f9cc56741214b111fb110f1bb8279bc7025866c.tar.gz rpg-4f9cc56741214b111fb110f1bb8279bc7025866c.tar.bz2 |
filter usernames case-insensitive in user manager
darcs-hash:20080213194342-79ce3-e05ea08fd276d0d841863878d614412aeaf2e305.gz
-rw-r--r-- | inc/auth/plain.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/auth/plain.class.php b/inc/auth/plain.class.php index 319bdbe02..02175d962 100644 --- a/inc/auth/plain.class.php +++ b/inc/auth/plain.class.php @@ -310,8 +310,8 @@ class auth_plain extends auth_basic { function _constructPattern($filter) { $this->_pattern = array(); foreach ($filter as $item => $pattern) { -// $this->_pattern[$item] = '/'.preg_quote($pattern,"/").'/'; // don't allow regex characters - $this->_pattern[$item] = '/'.str_replace('/','\/',$pattern).'/'; // allow regex characters +// $this->_pattern[$item] = '/'.preg_quote($pattern,"/").'/i'; // don't allow regex characters + $this->_pattern[$item] = '/'.str_replace('/','\/',$pattern).'/i'; // allow regex characters } } } |