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 <a...@warski.org> 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 submitted the user if validated using theUser.validate > (ProtoUser.scala:386, testSignup method). However I can't put captcha > validation into User.validate, as there won't be any captcha when e.g. > editing a user. > > So I would propose adding a method to MetaMegaProtoUser, e.g.: > > protected def validateSignup(user: User) = user.validate > > which could be then overridden in concrete user classes. > > Sounds like a great addition. Please open a ticket on it. I'll get to it > tomorrow (unless someone beats me to the punch.) > > > -- > Adam Warski > http://www.warski.org > http://www.softwaremill.eu > > > > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Surf the harmonics > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. -- Adam Warski http://www.warski.org http://www.softwaremill.eu -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.