From 910ea51ca41b9266e6036986cfc3df9fe73447db Mon Sep 17 00:00:00 2001 From: Nic Waller Date: Sat, 1 Jun 2013 07:00:56 +0000 Subject: [PATCH] Remove API permission for anon user --- authmgr/plugin.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/authmgr/plugin.php b/authmgr/plugin.php index e9612c4..59ad6a2 100644 --- a/authmgr/plugin.php +++ b/authmgr/plugin.php @@ -317,9 +317,7 @@ function authmgr_environment_check() { global $authmgr_role_assignment; if ( !isset( $authmgr_anon_capabilities) ) { - $authmgr_anon_capabilities = array( - AuthmgrCapability::API, - ); + $authmgr_anon_capabilities = array(); } if ( !isset( $authmgr_role_capabilities) ) {