From 23c5697841115504897db4abb0b42a462df04c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Suwi=C5=84ski?= Date: Wed, 18 Nov 2020 19:49:28 +0100 Subject: [PATCH] undo not working standard login support lang strings --- lang/en/auth_emailotp.php | 5 +---- lang/pl/auth_emailotp.php | 6 +----- version.php | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/lang/en/auth_emailotp.php b/lang/en/auth_emailotp.php index 33099c3..83b306a 100644 --- a/lang/en/auth_emailotp.php +++ b/lang/en/auth_emailotp.php @@ -52,7 +52,6 @@ Pattern:
Mapping:
-username:FIRST_LAST
 firstname:FIRST:ucfirst
 lastname:LAST:ucfirst
 institution:COMPANY:strtoupper
@@ -60,11 +59,9 @@ institution:COMPANY:strtoupper
 
 

maps my.name@corp.com to:

-username: my_name
firstname: My
lastname: Name
institution: CORP
-

Allowed modifiers: ucfirst, ucwords, strtoupper. Without mapping of -username field whole email address is taken as username.

+

Allowed modifiers: ucfirst, ucwords, strtoupper.

EOT; diff --git a/lang/pl/auth_emailotp.php b/lang/pl/auth_emailotp.php index 61f41fc..f52e8b4 100644 --- a/lang/pl/auth_emailotp.php +++ b/lang/pl/auth_emailotp.php @@ -52,7 +52,6 @@ Wzorzec:
Mapowanie:
-username:FIRST_LAST
 firstname:FIRST:ucfirst
 lastname:LAST:ucfirst
 institution:COMPANY:strtoupper
@@ -60,12 +59,9 @@ institution:COMPANY:strtoupper
 
 

odwzoruje my.name@corp.com na:

-username: my_name
firstname: My
lastname: Name
institution: CORP
-

Dozwolone modyfikatory: ucfirst, ucwords, strtoupper. Przy braku mapowania -pola username domyślnie cały adres email jest traktowany jako nazwa -użytkownika.

+

Dozwolone modyfikatory: ucfirst, ucwords, strtoupper.

EOT; diff --git a/version.php b/version.php index 1b863db..9ce352b 100644 --- a/version.php +++ b/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020111802; // The current plugin version (Date: YYYYMMDDXX). +$plugin->version = 2020111803; // 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;