diff options
author | onefang | 2020-04-21 02:32:54 +1000 |
---|---|---|
committer | onefang | 2020-04-21 02:32:54 +1000 |
commit | 36c65641b5f867d37006ae8b5435a84aeba8c25f (patch) | |
tree | 16430fbb943c311128eb0d8c8268bcebbb5b6be8 /src | |
parent | Fix up buttons to show a different title to the name. (diff) | |
download | opensim-SC-36c65641b5f867d37006ae8b5435a84aeba8c25f.zip opensim-SC-36c65641b5f867d37006ae8b5435a84aeba8c25f.tar.gz opensim-SC-36c65641b5f867d37006ae8b5435a84aeba8c25f.tar.bz2 opensim-SC-36c65641b5f867d37006ae8b5435a84aeba8c25f.tar.xz |
Mention other restrictions on names.
Diffstat (limited to 'src')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
3851 | } | 3851 | } |
3852 | else | 3852 | else |
3853 | { | 3853 | { |
3854 | bitch(Rd, "First and last names are limited to letters and digits.", ""); | 3854 | bitch(Rd, "First and last names are limited to ordinary letters and digits, no special characters or fonts.", ""); |
3855 | ret++; | 3855 | ret++; |
3856 | break; | 3856 | break; |
3857 | } | 3857 | } |
@@ -3871,7 +3871,7 @@ static int nameValidate(reqData *Rd, inputForm *iF, inputValue *iV) | |||
3871 | } | 3871 | } |
3872 | if ((0 == l1) || (0 == l2)) | 3872 | if ((0 == l1) || (0 == l2)) |
3873 | { | 3873 | { |
3874 | bitch(Rd, "First and last names have to be more than one letter each.", ""); | 3874 | bitch(Rd, "First and last names have to be one or more ordinary letters or digits each.", ""); |
3875 | ret++; | 3875 | ret++; |
3876 | } | 3876 | } |
3877 | 3877 | ||
@@ -5117,7 +5117,7 @@ void account_html(char *file, reqData *Rd, HTMLfile *thisFile) | |||
5117 | 5117 | ||
5118 | iF = newInputForm("accountLogin", "account login", "Please login, or create your new account.", accountLoginWeb, accountLoginWeb); | 5118 | iF = newInputForm("accountLogin", "account login", "Please login, or create your new account.", accountLoginWeb, accountLoginWeb); |
5119 | addSession(iF); | 5119 | addSession(iF); |
5120 | fld = addInputField(iF, LUA_TSTRING, "name", "name", "Your name needs to be two words, only letters and numbers.", nameValidate, nameWeb); | 5120 | 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); |
5121 | inputFieldExtra(fld, FLD_EDITABLE | FLD_REQUIRED, 42, 63); | 5121 | inputFieldExtra(fld, FLD_EDITABLE | FLD_REQUIRED, 42, 63); |
5122 | fld = addInputField(iF, LUA_TPASSWORD, "password", "password", | 5122 | fld = addInputField(iF, LUA_TPASSWORD, "password", "password", |
5123 | "Warning, the limit on password length is set by your viewer, some can't handle longer than 16 characters.", passwordValidate, passwordWeb); | 5123 | "Warning, the limit on password length is set by your viewer, some can't handle longer than 16 characters.", passwordValidate, passwordWeb); |