mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-65518 badges: Admin settings warning
If the backpack is changed to Open Badges V2 backpack, attempt the authenticate with the site settings and return a warning if it fails.
This commit is contained in:
parent
5c159cb309
commit
d48a52ddb1
5 changed files with 47 additions and 2 deletions
|
@ -70,6 +70,7 @@ class external_backpacks_page implements \renderable {
|
|||
}
|
||||
$data->backpacks[] = $backpack;
|
||||
}
|
||||
$data->warning = badges_verify_site_backpack();
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue