Hard deletes user themes, restores damaged bundled themes and fixes the web theme service DI lifetime

This commit is contained in:
BinaryAlley committed 2026-08-20 00:16:58 -07:00
1 parent bf8faba24d
commit 45dc3f5706
7 files changed
+126 -10

No files matched your search

@@ -301,9 +301,9 @@ public static class PresentationWebLayerServices
services.AddHttpContextAccessor();
services.Configure<FormOptions>(options => options.MultipartBodyLengthLimit = 10 * 1024 * 1024);
services.AddSingleton<ThemeService>();
services.AddScoped<ThemeService>();
services.AddSingleton<ThemeTemplateEngine>();
services.AddSingleton<ThemePageRenderer>();
services.AddScoped<ThemePageRenderer>();
services.AddScoped<IAuthorizationHandler, InitializationHandler>();
services.AddScoped<IAuthorizationHandler, RoleAuthorizationHandler>();