Sounds like a worthy addition.  I'd suggest that rather that doing more
flags that you create a validation function that people can replace with
whatever they want... by default that function looks at the current
skipEmailValidation flag.

On Tue, Jul 28, 2009 at 1:07 PM, Naftoli Gugenheim <[email protected]>wrote:

>
> Hi. I would like to customize the way that user registration is validated
> by email. For example, require the admin to validate users.
> Here are some possible approaches:
> 1. Set skipEmailValidation to true and build the mechanism from scratch in
> the subclass.
> 2. Override signup, and implement it similar but different.
> 3. Add a flag to lift to leave the user NOT validated, but not to send the
> email. Then either send the email manually, or provide a way for the admin
> to validate users.
> 4. Provide a hook to directly specify who the email should go to.
> What do people think?
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to