diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/CmsKitUiOptions.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/CmsKitUiOptions.cs
index 718284e042..b04ae26fb6 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Common.Web/CmsKitUiOptions.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/CmsKitUiOptions.cs
@@ -8,15 +8,9 @@ namespace Volo.CmsKit.Web
[NotNull]
public ReactionIconDictionary ReactionIcons { get; }
- ///
- /// Default value: "/Account/Login".
- ///
- public string LoginUrl { get; set; } //TODO: Consider to move to the ABP Framework!
-
public CmsKitUiOptions()
{
ReactionIcons = new ReactionIconDictionary();
- LoginUrl = "/Account/Login";
}
}
}
diff --git a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/CommentingViewComponent.cs b/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/CommentingViewComponent.cs
index 924add7a6c..803119f50f 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/CommentingViewComponent.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/CommentingViewComponent.cs
@@ -19,11 +19,11 @@ namespace Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Commenting
public class CommentingViewComponent : AbpViewComponent
{
public ICommentPublicAppService CommentPublicAppService { get; }
- public CmsKitUiOptions Options { get; }
+ public AbpMvcOptions AbpMvcOptions { get; }
public CommentingViewComponent(
ICommentPublicAppService commentPublicAppService,
- IOptions options)
+ IOptions options)
{
CommentPublicAppService = commentPublicAppService;
Options = options.Value;