diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs b/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs index 9038599759..338e4a5850 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs +++ b/src/Volo.Abp.AspNetCore.Mvc.UI/RazorPages/AbpPage.cs @@ -7,6 +7,6 @@ namespace Volo.Abp.AspNetCore.Mvc.RazorPages public abstract class AbpPage : Page { [RazorInject] - protected ICurrentUser CurrentUser { get; set; } + public ICurrentUser CurrentUser { get; set; } } }