Skip to content

Commit cc5ff36

Browse files
authored
Merge pull request #118 from Godoy0722/recaptcha_lost_password_3_5
[stable-3_5_0] Add support for reCaptcha on user lost password page
2 parents 492acbd + ff7cddb commit cc5ff36

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

templates/frontend/pages/userLostPassword.tpl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@
4040
<input class="form-control" type="email" name="email" id="email" value="{$email|escape}" required>
4141
</div>
4242

43+
{* recaptcha spam blocker *}
44+
{if $recaptchaPublicKey}
45+
<fieldset class="recaptcha_wrapper">
46+
<div class="fields">
47+
<div class="recaptcha">
48+
<div class="g-recaptcha" data-sitekey="{$recaptchaPublicKey|escape}">
49+
</div><label for="g-recaptcha-response" style="display:none;" hidden>Recaptcha response</label>
50+
</div>
51+
</div>
52+
</fieldset>
53+
{/if}
54+
4355
{* altcha spam blocker *}
4456
{if $altchaEnabled}
4557
<fieldset class="altcha_wrapper">

0 commit comments

Comments
 (0)