Skip to content

Commit

Permalink
Update src/OrchardCore.Modules/OrchardCore.Cors/Controllers/AdminCont…
Browse files Browse the repository at this point in the history
…roller.cs

Co-authored-by: Mike Alhayek <[email protected]>
  • Loading branch information
giannik and MikeAlhayek authored Feb 13, 2024
1 parent 5496035 commit e2c7746
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public async Task<ActionResult> IndexPOST()
AllowedMethods = settingViewModel.AllowedMethods,
AllowedOrigins = settingViewModel.AllowedOrigins,
IsDefaultPolicy = settingViewModel.IsDefaultPolicy

});

if (settingViewModel.AllowAnyOrigin && settingViewModel.AllowCredentials)
{
policyWarnings.Add($"{settingViewModel.Name}");
Expand Down

0 comments on commit e2c7746

Please sign in to comment.