diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-08-04 10:58:52 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-08-04 10:58:52 +0200 |
commit | 2f46ade0bbc43b599bedf620e2514171cce072df (patch) | |
tree | 5ca32c7e4b68d9d7b37b2bb7d56aeff5cbe7776d /inc | |
parent | 99dca51357b98d8450d43d66b5596504722809c0 (diff) | |
download | rpg-2f46ade0bbc43b599bedf620e2514171cce072df.tar.gz rpg-2f46ade0bbc43b599bedf620e2514171cce072df.tar.bz2 |
FS#2806 - fix auth capability listing in html_debug()
Diffstat (limited to 'inc')
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 3 insertions, 1 deletions
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 '<b>Auth backend capabilities:</b><pre>'; - print_r($auth->cando); + foreach ($auth->getCapabilities() as $cando){ + print ' '.str_pad($cando,16) . ' => ' . (int)$auth->canDo($cando) . NL; + } print '</pre>'; } |