summaryrefslogtreecommitdiff
path: root/src/models/Auth.class.php
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:54:57 -0400
commitc6ba22f591881daae4a2f3abf2990b427a3ad716 (patch)
treedc00c9d3ff432b831c030488f6372d9455312c6b /src/models/Auth.class.php
parent4d2de268b75f08e6fa774063a277c2c50f603ef7 (diff)
Select ! to be username separator.
Diffstat (limited to 'src/models/Auth.class.php')
-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);
}