allowing requests without Origin header

This commit is contained in:
Frank Schubert
2022-09-15 20:01:14 +02:00
parent 824f3a6ef2
commit 7a867cbc5e
3 changed files with 3 additions and 2 deletions

View File

@@ -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() {

View File

@@ -10,7 +10,7 @@ class PreorderApicontroller extends mfBaseApicontroller {
$this->addRoute("/preorder", "submitPreorder", "POST");
$this->allowMissingOrigin = false;
$this->allowMissingOrigin = true;
}
protected function authenticated() {