Permalink
Browse files

Merge branch 'MDL-62175-34' of git://github.com/jleyva/moodle into MO…

…ODLE_34_STABLE
  • Loading branch information...
dmonllao committed Apr 25, 2018
2 parents 4fbacc4 + c15b72b commit a61fab9c503d55de8ad3c6e16fac51b79b893db4
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/email/classes/external.php
@@ -289,7 +289,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 a61fab9

Please sign in to comment.