Fixed Invisible ReCaptcha on Login

Affected version


Well-known member
If an invisible captcha is enabled on the forum and during authorization, a limit on the captcha account is set, and there is an invisible captcha. Then you can’t log in, because in the login template, the option of ajax is not specified
<xf:form action="{{ link('login/login') }}" class="block">
Accordingly, the ajax is false and captcha cannot receive data, and as a result, we get the following message during authorization

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.5).

Change log:
Force invisible reCaptcha to be visible on the login form. Creates a minor BC break in all Captcha classes that will need to be observed by any third-party captcha providers
Any changes made as a result of this issue being resolved may not be rolled out here until later.


XenForo developer
Staff member
Update on this - I've just reimagined the fix, and there is no longer a BC break.