diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-08-11 22:50:01 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-08-11 22:50:01 +0200 |
commit | 49f76cd53bea8f42992b447cb19117a55479e08e (patch) | |
tree | 61e0c1fc89d523daffae0782f5fecdb5ac3c9587 /web/lib/acctfuncs.inc.php | |
parent | 4d7da95906f66a10368f8689b6686199753268b9 (diff) | |
parent | 218ccf51e38ad9b0654aa509f2bf8eec44d69c07 (diff) | |
download | aurweb-49f76cd53bea8f42992b447cb19117a55479e08e.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'web/lib/acctfuncs.inc.php')
-rw-r--r-- | web/lib/acctfuncs.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index 254f0e2..e3ff494 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web/lib/acctfuncs.inc.php @@ -544,7 +544,7 @@ function valid_username($user) { if (strlen($user) < USERNAME_MIN_LEN || strlen($user) > USERNAME_MAX_LEN) { return false; - } else if (!preg_match("/^[a-z0-9]+[.\-_]?[a-z0-9]+$/i", $user)) { + } else if (!preg_match("/^[a-z0-9]+[.\-_]?[a-z0-9]+$/Di", $user)) { return false; } |