ProjectLighthouse/ProjectLighthouse.Servers.Website/Pages/Partials/CaptchaPartial.cshtml

6 lines
No EOL
277 B
Text

@using LBPUnion.ProjectLighthouse.Configuration
@if (ServerConfiguration.Instance.Captcha.CaptchaEnabled)
{
<div class="h-captcha" data-sitekey="@ServerConfiguration.Instance.Captcha.SiteKey"></div>
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
}