From 93e38398135982277064700519f0dd284df1eb0d Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Wed, 6 Oct 2010 14:29:12 +0200 Subject: [PATCH] Don't require AUTH_MDP to lower permissions of the user. Signed-off-by: Florent Bruneau --- modules/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin.php b/modules/admin.php index 6d6660b..c2a5901 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -25,7 +25,7 @@ class AdminModule extends PLModule { return array( 'phpinfo' => $this->make_hook('phpinfo', AUTH_MDP, 'admin'), - 'get_rights' => $this->make_hook('get_rights', AUTH_MDP, 'admin'), + 'get_rights' => $this->make_hook('get_rights', AUTH_COOKIE, 'admin'), 'admin' => $this->make_hook('default', AUTH_MDP, 'admin'), 'admin/dead-but-active' => $this->make_hook('dead_but_active', AUTH_MDP, 'admin'), 'admin/deaths' => $this->make_hook('deaths', AUTH_MDP, 'admin'), -- 2.1.4