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

View File

@ -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) ) {