From ebf4e430c33d433eef864fc7f13f80a95273f3f0 Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Tue, 2 Apr 2024 15:08:36 +0200 Subject: [PATCH] Update TurnstileTagHelper.cs --- TurnstileTagHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TurnstileTagHelper.cs b/TurnstileTagHelper.cs index 1216f85..da35a76 100644 --- a/TurnstileTagHelper.cs +++ b/TurnstileTagHelper.cs @@ -18,7 +18,7 @@ public class TurnstileTagHelper : TagHelper /// /// Whether turnstile should be activated. /// - public bool? AppTurnstile { get; set; } + public bool? CfTurnstile { get; set; } /// /// Gets the of the executing view. @@ -30,7 +30,7 @@ public class TurnstileTagHelper : TagHelper public override void Process(TagHelperContext context, TagHelperOutput output) { - if (AppTurnstile ?? false) + if (CfTurnstile ?? false) { IHtmlContent content = _turnstile.GenerateTurnstileFormHtml(ViewContext!); if (content != null)