bug fixing
This commit is contained in:
@@ -20,6 +20,8 @@ class RestController extends Controller
|
|||||||
{
|
{
|
||||||
$behaviors = parent::behaviors();
|
$behaviors = parent::behaviors();
|
||||||
|
|
||||||
|
unset($behaviors['authenticator']);
|
||||||
|
|
||||||
$behaviors['corsFilter'] = [
|
$behaviors['corsFilter'] = [
|
||||||
'class' => CorsCustom::class,
|
'class' => CorsCustom::class,
|
||||||
'cors' => [
|
'cors' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user