summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}