Hello i want to redirect users to a warning page to make sure they
understand taht they need to validate the acount by clicking the link they
receive by email.
The standard flash message is not the solution for my users.

so i did this


def register_w(form):
    context={'detail':"Please check your mailbox","error":"Email
confirmation"}
    return response.render('templates/RNA.html',context)


def user():
...
auth.settings.register_onaccept= register_w
...


however it does not redirect...

The user first gets this
user/login?_next=/fileit/default/index
but chooses to Sign Up the gets
default/user/register?_next=%2Ffileit%2Fdefault%2Findex
after sign up he gets redirected again to the login page
default/user/login?_next=/fileit/default/index

any help please?
Thank you

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to