Remove API permission for anon user

This commit is contained in:
Nic Waller 2013-06-01 07:00:56 +00:00
parent 5f5f965bc4
commit 910ea51ca4
1 changed files with 1 additions and 3 deletions

View File

@ -317,9 +317,7 @@ function authmgr_environment_check() {
global $authmgr_role_assignment; global $authmgr_role_assignment;
if ( !isset( $authmgr_anon_capabilities) ) { if ( !isset( $authmgr_anon_capabilities) ) {
$authmgr_anon_capabilities = array( $authmgr_anon_capabilities = array();
AuthmgrCapability::API,
);
} }
if ( !isset( $authmgr_role_capabilities) ) { if ( !isset( $authmgr_role_capabilities) ) {