diff --git a/administrator/language/en-GB/en-GB.lib_joomla.ini b/administrator/language/en-GB/en-GB.lib_joomla.ini
index de8bc089bd53c..c4a7e6eb18cb2 100644
--- a/administrator/language/en-GB/en-GB.lib_joomla.ini
+++ b/administrator/language/en-GB/en-GB.lib_joomla.ini
@@ -210,7 +210,7 @@ JLIB_DATABASE_ERROR_USERGROUP_TITLE="Usergroup must have a title"
JLIB_DATABASE_ERROR_USERGROUP_TITLE_EXISTS="Usergroup title already exists. Title must be unique with the same parent."
JLIB_DATABASE_ERROR_USERNAME_CANNOT_CHANGE="Cannot use this user name"
JLIB_DATABASE_ERROR_USERNAME_INUSE="User name in use"
-JLIB_DATABASE_ERROR_VALID_AZ09="Please enter a valid username. No spaces, at least %d characters and must not contain the following characters: < > \ "_QQ_" ' % ; ( ) &"
+JLIB_DATABASE_ERROR_VALID_AZ09="Please enter a valid username. At least %d characters and must not contain the following characters: < > \ "_QQ_" ' % ; ( ) &"
JLIB_DATABASE_ERROR_VALID_MAIL="Please enter a valid email address."
JLIB_DATABASE_ERROR_VIEWLEVEL="Viewlevel must have a title"
JLIB_DATABASE_FUNCTION_NOERROR="DB function reports no errors"
diff --git a/libraries/joomla/table/user.php b/libraries/joomla/table/user.php
index 57d12450efdb6..392134340a3cb 100644
--- a/libraries/joomla/table/user.php
+++ b/libraries/joomla/table/user.php
@@ -186,7 +186,7 @@ public function check()
return false;
}
- if (preg_match('#[<>"\'%;()&\\s\\\\]|\\.\\./#', $this->username) || strlen(utf8_decode($this->username)) < 2)
+ if (preg_match('#[<>"\'%;()&\\\\]|\\.\\./#', $this->username) || strlen(utf8_decode($this->username)) < 2)
{
$this->setError(JText::sprintf('JLIB_DATABASE_ERROR_VALID_AZ09', 2));