bug fixing
This commit is contained in:
parent
dcf620f191
commit
67b4fc4069
@ -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' => [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user