Remove API permission for anon user
This commit is contained in:
parent
5f5f965bc4
commit
910ea51ca4
@ -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) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user