Added permission check in PreorderApi for preorderaddressreporting
This commit is contained in:
@@ -78,7 +78,10 @@ class mfBaseApicontroller {
|
||||
if($this->requireAuth) {
|
||||
$this->authenticateUser();
|
||||
if(method_exists($this,"authenticated")) {
|
||||
$this->authenticated(); // event defined in extending class
|
||||
$afterAuthResult = $this->authenticated(); // event defined in extending class
|
||||
if(mfResponse::isResponse($afterAuthResult)) {
|
||||
$this->return($afterAuthResult);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user