summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-07-14 22:13:33 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-07-14 22:13:33 +0200
commitd5ce66f6cd5bebeb7ffb39b0ac13b65a5ae3d1fc (patch)
treef69cbc1084cd585a0b5b737d479e9f9f6c4b0a96 /inc/auth.php
parentb5bef19b5dbebf123d1c181b3cebadea198add35 (diff)
downloadrpg-d5ce66f6cd5bebeb7ffb39b0ac13b65a5ae3d1fc.tar.gz
rpg-d5ce66f6cd5bebeb7ffb39b0ac13b65a5ae3d1fc.tar.bz2
The authcheck now prints a warning if no ACLs are available.
darcs-hash:20050714201333-7ad00-77d1547bb869b54105f71b49bafb3b1071512747.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php
index e0f955568..020520004 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -304,7 +304,8 @@ function auth_aclcheck($id,$user,$groups){
//we did this already
//looks like there is something wrong with the ACL
//break here
- return $perm;
+ msg('No ACL setup yet! Denying access to everyone.');
+ return AUTH_NONE;
}
}while(1); //this should never loop endless