There is no way to check if the user has entered incorrect credentials 
(login was rejected) and treat it my way?

Em domingo, 9 de fevereiro de 2014 16h51min04s UTC-2, 
thiago...@comp.ufla.br escreveu:
>
> The problem is that I have a page for the login form, that only can 
> redirect to the home page if the login is valid. But, I can't use 
> @auth.requires_login() because, the home page can be accessed by visitors 
> and in this app just pages like profile cannot be accessed by visitors.
>
> In this case, why the web2py redirects to the home page  even if login was 
> not valid, when I don't use @auth.requires_login()?
>
> How to prevent web2py redirect if login is not valid?
>

-- 
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/groups/opt_out.

Reply via email to