From e593dad37f93c4056ba73d4ef4bc76ddaf3670d9 Mon Sep 17 00:00:00 2001 From: Roc Date: Thu, 7 Jul 2022 22:45:17 +0800 Subject: [PATCH] Add missing Authorize attribute to setting-management --- .../Pages/SettingManagement/Index.cshtml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Index.cshtml.cs b/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Index.cshtml.cs index bf0b3e0d6b..5c94928b4b 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Index.cshtml.cs +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Index.cshtml.cs @@ -1,5 +1,6 @@ using System.Threading.Tasks; using Microsoft.Extensions.Options; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations; using Volo.Abp.AspNetCore.Mvc.UI.RazorPages; @@ -8,6 +9,7 @@ using Volo.Abp.Features; namespace Volo.Abp.SettingManagement.Web.Pages.SettingManagement; +[Authorize] [RequiresFeature(SettingManagementFeatures.Enable)] public class IndexModel : AbpPageModel {