mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-62175-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
6fb429dd79
@ -293,7 +293,7 @@ class auth_email_external extends external_api {
|
||||
$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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user