mirror of
https://github.com/SREd-URV/moodle-auth_ip.git
synced 2026-05-17 05:48:42 +02:00
Added support to Moodle v3.3+
This commit is contained in:
15
auth.php
15
auth.php
@@ -123,21 +123,6 @@ class auth_plugin_ip extends auth_plugin_manual {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints a form for configuring this authentication plugin.
|
||||
*
|
||||
* This function is called from admin/auth.php, and outputs a full page with
|
||||
* a form for configuring this plugin.
|
||||
*
|
||||
* @param array $config An object containing all the data for this page.
|
||||
* @param string $error
|
||||
* @param array $user_fields
|
||||
* @return void
|
||||
*/
|
||||
function config_form($config, $error, $user_fields) {
|
||||
include 'config.html';
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the list of IPs and sends a notification by email.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user