Skip to content

Commit

Permalink
MDL-65754 auth_email: Remove unused v1 recaptcha
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolate-lightning committed Jun 12, 2019
1 parent 061524d commit 6cefd82
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions auth/email/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,7 @@ public static function get_signup_settings() {

if (signup_captcha_enabled()) {
// With reCAPTCHA v2 the captcha will be rendered by the mobile client using just the publickey.
// For now include placeholders for the v1 paramaters to support older mobile app versions.
$result['recaptchapublickey'] = $CFG->recaptchapublickey;
list($result['recaptchachallengehash'], $result['recaptchachallengeimage'], $result['recaptchachallengejs']) =
array('', '', '');
}

$result['warnings'] = array();
Expand Down

0 comments on commit 6cefd82

Please sign in to comment.