mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #22 - Created bootstrap.php to intercept the execution before Moodle finished loading.
This commit is contained in:
@@ -86,7 +86,7 @@ if ($hassiteconfig && is_enabled_auth('outage')) {
|
||||
$allowedips = outagelib::get_config()->allowedips;
|
||||
$description = '';
|
||||
|
||||
if (!isset($CFG->auth_outage_check) || !$CFG->auth_outage_check) {
|
||||
if (!isset($CFG->auth_outage_check) || ($CFG->auth_outage_check != 2)) {
|
||||
$description .= $OUTPUT->notification(get_string('allowedipsnoconfig', 'auth_outage'), 'notifyfailure');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user