summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index 84a980db4..9251a9a84 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -110,7 +110,8 @@ class User extends DB_DataObject
# XXX: should already be validated for size, content, etc.
static $blacklist = array('rss', 'xrds', 'doc', 'main',
'settings', 'notice', 'user',
- 'search', 'avatar', 'tag', 'tags');
+ 'search', 'avatar', 'tag', 'tags',
+ 'api');
$merged = array_merge($blacklist, common_config('nickname', 'blacklist'));
return !in_array($nickname, $merged);
}