summaryrefslogtreecommitdiffstats
path: root/web/lib/credentials.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/credentials.inc.php')
-rw-r--r--web/lib/credentials.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/credentials.inc.php b/web/lib/credentials.inc.php
index c1251197..96c72339 100644
--- a/web/lib/credentials.inc.php
+++ b/web/lib/credentials.inc.php
@@ -49,7 +49,6 @@ function has_credential($credential, $approved_users=array()) {
$atype = account_from_sid($_COOKIE['AURSID']);
switch ($credential) {
- case CRED_ACCOUNT_LIST_COMMENTS:
case CRED_PKGBASE_FLAG:
case CRED_PKGBASE_NOTIFY:
case CRED_PKGBASE_VOTE:
@@ -60,6 +59,7 @@ function has_credential($credential, $approved_users=array()) {
case CRED_ACCOUNT_CHANGE_TYPE:
case CRED_ACCOUNT_EDIT:
case CRED_ACCOUNT_LAST_LOGIN:
+ case CRED_ACCOUNT_LIST_COMMENTS:
case CRED_ACCOUNT_SEARCH:
case CRED_COMMENT_DELETE:
case CRED_COMMENT_UNDELETE: