Skip to content

Commit

Permalink
fix data protection
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojsnunes committed Apr 16, 2024
1 parent 8d2b9ff commit dca7fad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ public Startup(IShellConfiguration configuration, ILogger<Startup> logger)
public override void ConfigureServices(IServiceCollection services)
{
var connectionString = _configuration.GetValue<string>("OrchardCore_DataProtection_Azure:ConnectionString");
var azureClientName = _configuration.GetValue<string>("OrchardCore_DataProtection_Azure:AzureClientName");

if (!string.IsNullOrWhiteSpace(connectionString))
if (!string.IsNullOrWhiteSpace(connectionString) || string.IsNullOrWhiteSpace(azureClientName))
{
services
.Configure<BlobOptions, BlobOptionsSetup>()
Expand Down

0 comments on commit dca7fad

Please sign in to comment.