agent foundation
This commit is contained in:
@@ -32,7 +32,7 @@ $userPasswordPolicyService = app(\MintyPHP\Service\User\UserPasswordPolicyServic
|
||||
$userCustomFieldValueService = app(UserCustomFieldValueService::class);
|
||||
$passwordMinLength = $userPasswordPolicyService->minLength();
|
||||
$passwordHints = $userPasswordPolicyService->hints();
|
||||
$settingGateway = app(\MintyPHP\Service\Settings\SettingGateway::class);
|
||||
$settingsDefaultsGateway = app(\MintyPHP\Service\Settings\SettingsDefaultsGateway::class);
|
||||
$directoryScopeGateway = app(\MintyPHP\Service\Directory\DirectoryScopeGateway::class);
|
||||
$tenantService = app(\MintyPHP\Service\Tenant\TenantService::class);
|
||||
$roleService = app(\MintyPHP\Service\Access\RoleService::class);
|
||||
@@ -98,7 +98,7 @@ if ($request->hasBody('email')) {
|
||||
} elseif ($directoryScopeGateway->isStrict()) {
|
||||
$tenantIds = [];
|
||||
}
|
||||
$defaultTenantId = $settingGateway->getDefaultTenantId();
|
||||
$defaultTenantId = $settingsDefaultsGateway->getDefaultTenantId();
|
||||
if (
|
||||
$canManageAssignments
|
||||
&& $directoryScopeGateway->isStrict()
|
||||
|
||||
Reference in New Issue
Block a user