Add team roles and content management updates
This commit is contained in:
@@ -40,6 +40,21 @@ public static partial class SeedDataBootstrapper
|
||||
{
|
||||
settings.RiskRulesJson = RiskRuleSettings.Serialize(RiskRuleSettings.Defaults);
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(settings.ImprintContent))
|
||||
{
|
||||
settings.ImprintContent = SeedCatalog.DefaultImprintContent;
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(settings.ContactContent))
|
||||
{
|
||||
settings.ContactContent = SeedCatalog.DefaultContactContent;
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(settings.SponsorsContent))
|
||||
{
|
||||
settings.SponsorsContent = SeedCatalog.DefaultSponsorsContent;
|
||||
}
|
||||
}
|
||||
|
||||
private static bool HasValidSiteArray(string? json, params string[] requiredKeys)
|
||||
|
||||
Reference in New Issue
Block a user