]> git.mjollnir.org Git - moodle.git/commitdiff
change error message language string from 'alphanumerical' to 'invalidusername' ...
authorRossiani Wijaya <rossianiwijaya@gmail.com>
Wed, 13 Jan 2010 07:24:41 +0000 (07:24 +0000)
committerRossiani Wijaya <rossianiwijaya@gmail.com>
Wed, 13 Jan 2010 07:24:41 +0000 (07:24 +0000)
login/index.php

index 6d17064b76a6f1d5682eaf6f2391102be31c88f4..0ee8371e41454edc44cf4f30caf51aa607960e24 100644 (file)
@@ -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;