change error message language string from 'alphanumerical' to 'invalidusername' - MDL-16919
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user