3 Commits
1.0.0 ... 1.0.2

Author SHA1 Message Date
Paweł Suwiński
a06447c270 tagging new release 2020-11-13 18:13:22 +01:00
Paweł Suwiński
27ac93e3a8 removed ending trailing comma on fields_mapper arguments list (allowed since php 7.4) 2020-11-13 18:10:00 +01:00
Paweł Suwiński
e4f9f63ff9 lowering requirements to moodle 3.6.4 2020-11-13 17:38:01 +01:00
2 changed files with 5 additions and 3 deletions

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))),

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';