Hello,

I'm a default controller doing a redirection to another controller.

[default]

@auth.requires_login()

def index():
     redirect(URL('another_controler', my_funtion)

I have a custom login method: pop3 authentication server wich return true 
or false if login password match with email password.

All works ok,  but  when first  login fails (wrong email  or password, 
don't matter), the exposed default/user/login processs don't work properly.

The url of my browser is not clean, there in GET format all the parameters 
of the previous login form. Also the _formkey of form and session don't 
match.

If I reload the page the URL in the browser is clean, the session is clean 
and all work fine.

The login form is the default auth() form .

I'm using web2py 2.18.4-stable.

Thanks in advance.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/3f1a3f67-645d-43f3-a84a-034280945461%40googlegroups.com.

Reply via email to