From 36c65641b5f867d37006ae8b5435a84aeba8c25f Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 21 Apr 2020 02:32:54 +1000 Subject: Mention other restrictions on names. --- src/sledjchisl/sledjchisl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sledjchisl/sledjchisl.c') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index a62948b..dd5786d 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -3851,7 +3851,7 @@ static int nameValidate(reqData *Rd, inputForm *iF, inputValue *iV) } else { - bitch(Rd, "First and last names are limited to letters and digits.", ""); + bitch(Rd, "First and last names are limited to ordinary letters and digits, no special characters or fonts.", ""); ret++; break; } @@ -3871,7 +3871,7 @@ static int nameValidate(reqData *Rd, inputForm *iF, inputValue *iV) } if ((0 == l1) || (0 == l2)) { - bitch(Rd, "First and last names have to be more than one letter each.", ""); + bitch(Rd, "First and last names have to be one or more ordinary letters or digits each.", ""); ret++; } @@ -5117,7 +5117,7 @@ void account_html(char *file, reqData *Rd, HTMLfile *thisFile) iF = newInputForm("accountLogin", "account login", "Please login, or create your new account.", accountLoginWeb, accountLoginWeb); addSession(iF); - fld = addInputField(iF, LUA_TSTRING, "name", "name", "Your name needs to be two words, only letters and numbers.", nameValidate, nameWeb); + fld = addInputField(iF, LUA_TSTRING, "name", "name", "Your name needs to be two words, only ordinary letters and digits, no special characters or fonts.", nameValidate, nameWeb); inputFieldExtra(fld, FLD_EDITABLE | FLD_REQUIRED, 42, 63); fld = addInputField(iF, LUA_TPASSWORD, "password", "password", "Warning, the limit on password length is set by your viewer, some can't handle longer than 16 characters.", passwordValidate, passwordWeb); -- cgit v1.1