fix
This commit is contained in:
parent
bb70294faa
commit
ba6eeb623f
@ -28,8 +28,6 @@ namespace ASC.Web.Api.Controllers.Settings;
|
||||
|
||||
public class LicenseController : BaseSettingsController
|
||||
{
|
||||
private Tenant Tenant { get { return ApiContext.Tenant; } }
|
||||
|
||||
private readonly MessageService _messageService;
|
||||
private readonly FirstTimeTenantSettings _firstTimeTenantSettings;
|
||||
private readonly UserManager _userManager;
|
||||
@ -199,8 +197,13 @@ public class LicenseController : BaseSettingsController
|
||||
if (!_authContext.IsAuthenticated && _settingsManager.Load<WizardSettings>().Completed)
|
||||
{
|
||||
throw new SecurityException(Resource.PortalSecurity);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!_coreBaseSettings.Standalone)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
if (!inDto.Files.Any())
|
||||
{
|
||||
throw new Exception(Resource.ErrorEmptyUploadFileSelected);
|
||||
|
Loading…
Reference in New Issue
Block a user