Skip to content

Commit 2139368

Browse files
#224: reCAPTCHA now appears on login page when enabled in Moodle.
1 parent 5ef4097 commit 2139368

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

templates/core/loginform.mustache

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@
164164
!}}placeholder="{{#cleanstr}}password{{/cleanstr}}" {{!
165165
!}}autocomplete="current-password">
166166
</div>
167+
{{#recaptcha}}
168+
<div class="login-form-recaptcha form-group">
169+
{{{recaptcha}}}
170+
</div>
171+
{{/recaptcha}}
167172
<div class="login-form-submit form-group">
168173
<button class="btn btn-primary col-12 col-md-6 col-lg-auto" type="submit" id="loginbtn">{{#str}}login{{/str}}</button>
169174
</div>

version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
defined('MOODLE_INTERNAL') || die();
3030

31-
$plugin->version = 2025052200;
31+
$plugin->version = 2025052201;
3232
$plugin->release = '5.0.0.2';
3333
$plugin->maturity = MATURITY_STABLE;
3434
$plugin->requires = 2022021800; // Moodle 4.0 - Build: 20220218.

0 commit comments

Comments
 (0)