mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
change error message language string from 'alphanumerical' to 'invalidusername' - MDL-16919
This commit is contained in:
parent
07ed083e4e
commit
50256f9cd1
@ -107,7 +107,7 @@ if (empty($CFG->usesid) and $testcookies and (get_moodle_cookie() == '')) { /
|
||||
if (is_enabled_auth('none') && empty($CFG->extendedusernamechars)) {
|
||||
$string = clean_param($frm->username, PARAM_USERNAME);
|
||||
if (strcmp($frm->username, $string)) {
|
||||
$errormsg = get_string('username').': '.get_string("alphanumerical");
|
||||
$errormsg = get_string('username').': '.get_string("invalidusername");
|
||||
$errorcode = 2;
|
||||
|
||||
$user = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user