summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 18:49:25 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 18:49:25 -0400
commit0656229285c8d7eaeda70f2a1b0ed1f761522f8a (patch)
treec88494d37790a80e8108e1eec8502e9452dc0354
parenta19ef60df3870ba039f57324e97de02555c26633 (diff)
Select ! to be username separator.
-rw-r--r--src/models/Auth.class.php1
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);
}