mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 11:13:27 +02:00
Feature/recaptcha v3 plus login (#202)
* [WIP] New GoogleReCAPTCHA code Support for v3 v2-invisible doesn't work yet * Add some notice about recaptchas versions * Lets support only ReCaptcha v3 Too much mess ;) * Fixes
This commit is contained in:
@@ -47,6 +47,9 @@
|
||||
<td><input type="checkbox" id="remember_me" name="remember_me" value="true" />
|
||||
<label for="remember_me"> Remember me</label></td>
|
||||
</tr>
|
||||
{% if config.recaptcha_enabled %}
|
||||
<input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response" />
|
||||
{% endif %}
|
||||
</table>
|
||||
<div style="float: right; font-size: 1px;" >
|
||||
<input type="hidden" name="page" value="overview" >
|
||||
@@ -144,3 +147,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% if config.recaptcha_enabled %}
|
||||
{% set action = 'login' %}
|
||||
{{ include('google_recaptcha.html.twig') }}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user