From 2f46ade0bbc43b599bedf620e2514171cce072df Mon Sep 17 00:00:00 2001 From: Christopher Smith Date: Sun, 4 Aug 2013 10:58:52 +0200 Subject: FS#2806 - fix auth capability listing in html_debug() --- inc/html.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index 96c4eaa1a..a2a726406 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1629,7 +1629,9 @@ function html_debug(){ if($auth){ print 'Auth backend capabilities:
';
-        print_r($auth->cando);
+        foreach ($auth->getCapabilities() as $cando){
+            print '   '.str_pad($cando,16) . ' => ' . (int)$auth->canDo($cando) . NL;
+        }
         print '
'; } -- cgit v1.2.3