auth.settings.login_next = URL('index')
auth.settings.logout_next = URL('index')
auth.settings.profile_next = URL('index')
auth.settings.register_next = URL('user', args='login')
auth.settings.retrieve_username_next = URL('index')
auth.settings.retrieve_password_next = URL('index')
auth.settings.change_password_next = URL('index')
auth.settings.request_reset_password_next = URL('user', args='login')
auth.settings.reset_password_next = URL('user', args='login')
auth.settings.verify_email_next = URL('user', args='login')

Richard


On Sun, Aug 18, 2013 at 4:35 AM, Annet <[email protected]> wrote:

> I have a custom registration process. Registration forms are stored in the
> database, and retrieved
> in a function called cmsadmin/register
>
> http://127.0.0.1:8000/mock/cmsadmin/register
>
> This functions lists the registrations forms and  a link to the individual
> form.
>
> http://127.0.0.1:8000/mock/cmsadmin/registerForm/1
> http://127.0.0.1:8000/mock/cmsadmin/registerForm/2
> http://127.0.0.1:8000/mock/cmsadmin/registerForm/3
>
> etc.
>
> When I click the registerForm link I am redirected to a login page instead
> of to the function
> that processes the registration forms:
>
>
> http://127.0.0.1:8000/mock/default/user/login?_next=/mock/cmsadmin/registerForm/1
>
> http://127.0.0.1:8000/mock/default/user/login?_next=/mock/cmsadmin/registerForm/2
>
> http://127.0.0.1:8000/mock/default/user/login?_next=/mock/cmsadmin/registerForm/3
>
> What is the mechanism in web2py causing this behaviour. And how do I
> bypass it?
>
>
> Kind regards,
>
> Annet.
>
>
>  --
>
> ---
> 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.
>

-- 

--- 
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.

Reply via email to