allowing requests without Origin header
This commit is contained in:
@@ -11,7 +11,7 @@ class AddressdbApicontroller extends mfBaseApicontroller {
|
||||
$this->addRoute("/addressdb/findZip", "findZip", "POST");
|
||||
$this->addRoute("/addressdb/findCity", "findCity", "POST");
|
||||
|
||||
$this->allowMissingOrigin = false;
|
||||
$this->allowMissingOrigin = true;
|
||||
}
|
||||
|
||||
protected function authenticated() {
|
||||
|
||||
@@ -10,7 +10,7 @@ class PreorderApicontroller extends mfBaseApicontroller {
|
||||
|
||||
$this->addRoute("/preorder", "submitPreorder", "POST");
|
||||
|
||||
$this->allowMissingOrigin = false;
|
||||
$this->allowMissingOrigin = true;
|
||||
}
|
||||
|
||||
protected function authenticated() {
|
||||
|
||||
Reference in New Issue
Block a user