diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-04 02:25:32 -0700 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-04 02:25:32 -0700 |
commit | 90d5fa676926189b265430239dca3b7ba668b30b (patch) | |
tree | 35565b5c3030d39ef947f3a5eb062037b6ac3f61 /inc/html.php | |
parent | b1865a58289579973dbfa719632ade4265de9978 (diff) | |
parent | 2f46ade0bbc43b599bedf620e2514171cce072df (diff) | |
download | rpg-90d5fa676926189b265430239dca3b7ba668b30b.tar.gz rpg-90d5fa676926189b265430239dca3b7ba668b30b.tar.bz2 |
Merge pull request #268 from splitbrain/FS#2806
FS#2806 - fix auth capability listing in html_debug()
Diffstat (limited to 'inc/html.php')
-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>'; } |