I do not use Janrain but I think you can use auth.settings.registration_requires_verification = True auth.settings.registration_requires_approval = True
I normally use the last one only. That means no registration will be valid unless approved by the administrator. I don't have a lot of users so it is easy to use the admin-interface and go to the auth_user table. Regards Johann On 8 November 2013 14:57, Dragan Matic <[email protected]> wrote: > When using web2py authentication I can check if user is logging in or > registering a new user and then I can check if it has proper invitation > code in and deny him registration. > > But what if user is using Janrain? Login and registraton is then done > through an external app. Is there a way to intercept registration and check > for invitation code and deny it somehow if necessary? > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

