diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-09 18:49:25 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-09 18:54:57 -0400 |
commit | c6ba22f591881daae4a2f3abf2990b427a3ad716 (patch) | |
tree | dc00c9d3ff432b831c030488f6372d9455312c6b /src | |
parent | 4d2de268b75f08e6fa774063a277c2c50f603ef7 (diff) |
Select ! to be username separator.
Diffstat (limited to 'src')
-rw-r--r-- | src/models/Auth.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/Auth.class.php b/src/models/Auth.class.php index 031ee26..9017bd5 100644 --- a/src/models/Auth.class.php +++ b/src/models/Auth.class.php @@ -31,6 +31,7 @@ class Auth { return true && (!in_array($name, $illegal_names)) && (strpos($name,'.')===false) + && (strpos($name,'!')===false) && (strlen($name)<256); } |