mirror of
https://github.com/PawelSuwinski/moodle-auth_emailotp.git
synced 2026-05-17 05:48:40 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a06447c270 | ||
|
|
27ac93e3a8 |
2
auth.php
2
auth.php
@@ -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))),
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2020111003; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$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.1';
|
||||
$plugin->release = '1.0.2';
|
||||
|
||||
Reference in New Issue
Block a user