mirror of
https://github.com/PawelSuwinski/moodle-auth_emailotp.git
synced 2026-05-16 21:41:27 +02:00
apply local_codechecker recomendations
This commit is contained in:
6
auth.php
6
auth.php
@@ -140,12 +140,12 @@ class auth_plugin_emailotp extends auth_plugin_base {
|
||||
}
|
||||
|
||||
/**
|
||||
* get_userinfo
|
||||
* get_userinfo
|
||||
*
|
||||
* Signup and user creation on first login takes place only in case of
|
||||
* using email address as username.
|
||||
*
|
||||
* @param string $username
|
||||
*
|
||||
* @param string $username
|
||||
* @return array
|
||||
*/
|
||||
public function get_userinfo($username) {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2020111901; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->version = 2020111902; // 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;
|
||||
|
||||
Reference in New Issue
Block a user