bug fixing
This commit is contained in:
@@ -29,16 +29,8 @@ class LoginController extends Controller
|
||||
'cors' => [
|
||||
// restrict access to
|
||||
'Origin' => ['https://botondfitness.hu'],
|
||||
// Allow only POST and PUT methods
|
||||
// 'Access-Control-Request-Method' => ['POST', 'PUT'],
|
||||
// Allow only headers 'X-Wsse'
|
||||
// 'Access-Control-Request-Headers' => ['X-Wsse'],
|
||||
// Allow credentials (cookies, authorization headers, etc.) to be exposed to the browser
|
||||
'Access-Control-Allow-Credentials' => true,
|
||||
// Allow OPTIONS caching
|
||||
// 'Access-Control-Max-Age' => 3600,
|
||||
// Allow the X-Pagination-Current-Page header to be exposed to the browser.
|
||||
// 'Access-Control-Expose-Headers' => ['X-Pagination-Current-Page'],
|
||||
]
|
||||
];
|
||||
return $behaviors;
|
||||
|
||||
Reference in New Issue
Block a user