On Thursday, March 28, 2013 11:06:25 AM UTC-4, DeanK wrote:

> I don't want to have to approve all registrations, but I want to be able 
> to control when people can register (basically just because you have a 
> gmail account doesn't mean you can sign in and use the service).  The web 
> app i'm creating is being rolled out to specific people in a controlled 
> manner so I need this capability.  I was thinking about having some sort of 
> "secret early access token" that if you know lets you register before it is 
> completely open to all users.


Sure, that sounds reasonable. Just have the login function check for the 
token in the URL query string (i.e., via request.vars), and if not present, 
redirect or return an appropriate message.
 

> Also I do want to have people fill out some additional information after 
> the initial Janrain log in.
>

You can define an auth.settings.login_onaccept function that checks to see 
whether the required elements of the profile have been filled out yet, and 
if not, redirect to the profile page.

Anthony

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to