Permalink
Browse files

Merge branch 'MDL-62175-master' of git://github.com/jleyva/moodle

  • Loading branch information...
dmonllao committed Apr 25, 2018
2 parents 0d1707f + e709853 commit 6fb429dd79e7243b7402cdfbb12f4cbb2932f05a
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/email/classes/external.php
@@ -293,7 +293,7 @@ public static function signup_user($username, $password, $firstname, $lastname,
$data['email2'] = $data['email'];
// Force policy agreed if a site policy is set. The client is responsible of implementing the interface check.
$manager = new \core_privacy\local\sitepolicy\manager();
if (!$manager->is_defined()) {
if ($manager->is_defined()) {
$data['policyagreed'] = 1;
}
unset($data['recaptcharesponse']);

0 comments on commit 6fb429d

Please sign in to comment.