summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-07-12 12:27:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-07-12 12:27:25 +0200
commit57aa5852a432b5771e51d9cc4c131025574b77ac (patch)
tree399714c76e62011553638297b2de8ff6c8838b8d /application
parentfaef9c8dd3bbd9403881982f57bee4342d5c39e3 (diff)
u/register: improve error message for invalid username
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/controllers/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index d9a549ae6..ad6c2374d 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -144,7 +144,7 @@ class User extends CI_Controller {
$password_confirm = $this->input->post("password_confirm");
if (!$username || strlen($username) > 32 || !preg_match("/^[a-z0-9]+$/", $username)) {
- $error[]= "Invalid username (only a-z0-9 are allowed).";
+ $error[]= "Invalid username (only up to 32 chars of a-z0-9 are allowed).";
}
$this->load->helper("email");