mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-66708 lti adv: fix check for key in config
This commit is contained in:
parent
a5f618d6a9
commit
2a6ea30ef4
@ -35,7 +35,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @return string A warning message if a private key does not exist and cannot be generated.
|
||||
*/
|
||||
function mod_lti_verify_private_key() {
|
||||
$key = get_config('privatekey', 'mod_lti');
|
||||
$key = get_config('mod_lti', 'privatekey');
|
||||
|
||||
// If we already generated a valid key, no need to check.
|
||||
if (empty($key)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user