Added an approved flag to organisations with a status column as an indicator, pending registration/approval workflow
This commit is contained in:
@@ -101,8 +101,7 @@ class OrganisationController extends SimpleController
|
||||
return $response->withJson([], 400);
|
||||
}
|
||||
|
||||
/** @var \UserFrosting\Support\Repository\Repository $config */
|
||||
$config = $this->ci->config;
|
||||
$data['flag_approved'] = 1;
|
||||
|
||||
// All checks passed! log events/activities and create organisation
|
||||
// Begin transaction - DB will be rolled back if an exception occurs
|
||||
@@ -621,7 +620,7 @@ class OrganisationController extends SimpleController
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Renders the modal form for editing an existing organisation.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user