From d5ce66f6cd5bebeb7ffb39b0ac13b65a5ae3d1fc Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Thu, 14 Jul 2005 22:13:33 +0200 Subject: [PATCH] The authcheck now prints a warning if no ACLs are available. darcs-hash:20050714201333-7ad00-77d1547bb869b54105f71b49bafb3b1071512747.gz --- inc/auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- GitLab