Hmm, it appears that my other suggestion (check existing username) also
exists, but its buried in UserManager.addUser which bubbles up a
RollerException and is turned into an ActionError. A little out of the
way, but still gets the job done.
-Matt
Matt Raible wrote:
On 12/29/05, Matthew P. Schmidt <[EMAIL PROTECTED]> wrote:
Hi everyone. These days, having an email address is mandatory for most
types of services. At JRoller, we had to hack the
UserNewAction.validate method to throw an error if the username is
already in use or the email address is missing. I would like to propose
that we add these two validation requirements to the core. Any
objections? If not, I can send the patch.
No objections here. Do you have commit rights yet? If so, just
commit the change - no need for a patch. ;-)
Matt
(uh, oh, 2 Matt's - I'm going to have to start going by "Raible",
which I do at most places with 2 Matt's)
-Matt