Please open a ticket about.

On Friday, 16 August 2013 10:50:13 UTC-5, peter wrote:
>
> When a user registers I want an email to be sent to the site admin.
>
> I therefore use
>
> auth.settings.register_onaccept.append(lambda form:   mail.send(to= etc
>
> This works fine. However it breaks the 'next_url'. i.e without the 
> onaccept_append, then functions decorated with 
>
> @auth.requires_login()
>
> are returned to after registration. However this no longer happens when 
> the on accept is appended.
>
> Is there a way round this that anyone can suggest.
>
> Thanks
>
> Peter
>

-- 

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