Skip to content

Commit

Permalink
Merge branch 'MDL-73256' of git://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Dec 22, 2021
2 parents 7f9cf60 + f6ab7c9 commit 5d87a70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion admin/tool/oauth2/issuers.php
Expand Up @@ -104,7 +104,11 @@
} else if ($action == 'savetemplate') {

$type = required_param('type', PARAM_ALPHANUM);
$mform = new \tool_oauth2\form\issuer(null, ['persistent' => $issuer, 'type' => $type]);
$mform = new \tool_oauth2\form\issuer(null, [
'persistent' => $issuer,
'type' => $type,
'showrequireconfirm' => true, // Ensure the "requireconfirmation" field is included in form data.
]);
if ($mform->is_cancelled()) {
redirect(new moodle_url('/admin/tool/oauth2/issuers.php'));
}
Expand Down

0 comments on commit 5d87a70

Please sign in to comment.