Commit bc353c69 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1653030: Using safe require auth saml



To make sure all dependent classes are included as well

behatnotneeded

Change-Id: Ib93776b163193849938619cbe9bbb7e073df7a02
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 359f3540
......@@ -1502,7 +1502,7 @@ function site_warnings() {
$warnings[] = get_string('noreplyaddressmissingorinvalid', 'error', get_config('wwwroot') . 'admin/site/options.php?fs=emailsettings');
}
require_once(get_config('docroot') . 'auth/saml/lib.php');
safe_require('auth', 'saml');
if (PluginAuthSaml::is_active()) {
// Check if the saml plugin config needs updating
if (record_exists_select('auth_config', "plugin = ? AND field = ?", array('saml', 'simplesamlphplib'))) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment