From 57aa5852a432b5771e51d9cc4c131025574b77ac Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 12 Jul 2012 12:27:25 +0200 Subject: u/register: improve error message for invalid username Signed-off-by: Florian Pritz --- application/controllers/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/controllers') 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"); -- cgit v1.2.3-24-g4f1b