Permalink
Browse files

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

…ODLE_33_STABLE
  • Loading branch information...
dmonllao committed Apr 25, 2018
2 parents d38c995 + e695807 commit ff36037e13d04712126a12a59e8863a8e70dc1ce
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 ff36037

Please sign in to comment.