3 Commits
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ class auth_plugin_emailotp extends auth_plugin_base {
$fields += array_filter(
(new \auth_emailotp\fields_mapper(
$this->config->fieldsmapping_pattern,
strtolower($username),
strtolower($username)
))->map(array_map(function($mapping) {
return trim($mapping);
}, explode(PHP_EOL, $this->config->fieldsmapping_mapping))),
+4 -2
View File
@@ -24,6 +24,8 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2020111002; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2020060900; // Requires this Moodle version.
$plugin->version = 2020111004; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2018120304; // Requires this Moodle version.
$plugin->component = 'auth_emailotp'; // Full name of the plugin (used for diagnostics).
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '1.0.2';