bug fixing
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
namespace customerapi\controllers;
|
||||
|
||||
use common\helpers\CorsCustom;
|
||||
use customerapi\models\LoginForm;
|
||||
use sizeg\jwt\Jwt;
|
||||
use sizeg\jwt\JwtHttpBearerAuth;
|
||||
@@ -25,7 +26,7 @@ class LoginController extends Controller
|
||||
$behaviors = parent::behaviors();
|
||||
|
||||
$behaviors['corsFilter'] = [
|
||||
'class' => \yii\filters\Cors::className(),
|
||||
'class' => CorsCustom::class,
|
||||
'cors' => [
|
||||
// restrict access to
|
||||
'Origin' => ['https://botondfitness.hu'],
|
||||
|
||||
Reference in New Issue
Block a user