From 5ff9dd653fdae48b87a5c5ee415a66edc5509cb6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 23 Jun 2001 14:59:15 +0000 Subject: - Made it possible to enter longer username such as 'Gerhard K*llesreit'. - Updated database.mysql. --- includes/user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/user.inc') diff --git a/includes/user.inc b/includes/user.inc index 2abdf094a..5e0bf2274 100644 --- a/includes/user.inc +++ b/includes/user.inc @@ -82,7 +82,7 @@ function user_validate_name($name) { if (eregi(" \$", $name)) return t("the username can not end with a space."); if (eregi(" ", $name)) return t("the username can not contain multiple spaces in a row."); if (eregi("[^a-zA-Z0-9 ]", $name)) return t("the username contains an illegal character."); - if (strlen($name) > 15) return t("the username '$name' is too long: it must be less than 15 characters."); + if (strlen($name) > 32) return t("the username '$name' is too long: it must be less than 32 characters."); } function user_validate_mail($mail) { -- cgit v1.2.3