#122 User creation error message

1.3.x
open
nobody
None
5
2012-10-11
2005-10-26
Kevin Amorin
No

Hello,
My users are having a hard time understanding a
WikiWord as a user id. I was hoping you could change
the following code:

--- WikiUserNew.php 2005-10-26
17:08:52.000000000 -0400
+++ WikiUserNew-old.php 2005-10-26
17:09:14.000000000 -0400
@@ -561,7 +561,7 @@
$authlevel = $this->checkPass($passwd ===
false ? '' : $passwd);
if ($authlevel <= 0) { // anon or forbidden
if ($passwd)
- return ("Invalid password or userid!!! Please
use at least 2 capitals letters seperated by at least one
letter. Example: MyUsername");
+ return
("Invalid password.");
else
return _("Invalid password or userid.");
} elseif ($authlevel < $require_level) { // auth ok,
but not enough

The original invalid password is confusing for users who
are entering invalid WikiWord usernames. My example
may be a bit extreme, but anything stating the
possibility of an invalid username would be good.

Best
Kevin Amorin

Discussion