Re: [Lift] Signup validation

2010-02-25 Thread Adam Warski
Hello, ticket created: http://www.assembla.com/spaces/liftweb/tickets/368 On Feb 24, 2010, at 6:28 PM, David Pollak wrote: > > > On Wed, Feb 24, 2010 at 7:33 AM, Adam Warski wrote: > Hello, > > I'm integrating recaptcha into a Lift app that uses MegaProtoUser, and > there's one small thing

Re: [Lift] Signup validation

2010-02-24 Thread Jeppe Nejsum Madsen
On Wed, Feb 24, 2010 at 6:05 PM, Adam Warski wrote: > Hello, > >> Can't you just override actionAfterSignup and don't call super if >> captcha check fails? > > > But that already assumes that signup was successfull and in the end redirects > to the homepage instead of going back to the singup for

Re: [Lift] Signup validation

2010-02-24 Thread David Pollak
On Wed, Feb 24, 2010 at 7:33 AM, Adam Warski wrote: > Hello, > > I'm integrating recaptcha into a Lift app that uses MegaProtoUser, and > there's one small thing that I think can be improved. > > There is currently no good place to put the captcha-verifying code. After > the signup form is submit

Re: [Lift] Signup validation

2010-02-24 Thread Adam Warski
Hello, > Can't you just override actionAfterSignup and don't call super if > captcha check fails? But that already assumes that signup was successfull and in the end redirects to the homepage instead of going back to the singup form. -- Adam Warski http://www.warski.org http://www.softwaremil

Re: [Lift] Signup validation

2010-02-24 Thread Jeppe Nejsum Madsen
Adam Warski writes: > Hello, > > I'm integrating recaptcha into a Lift app that uses MegaProtoUser, and > there's one small thing that I think can be improved. > > There is currently no good place to put the captcha-verifying code. After the > signup form is submitted the user if validated usin

[Lift] Signup validation

2010-02-24 Thread Adam Warski
Hello, I'm integrating recaptcha into a Lift app that uses MegaProtoUser, and there's one small thing that I think can be improved. There is currently no good place to put the captcha-verifying code. After the signup form is submitted the user if validated using theUser.validate (ProtoUser.sca