sorry this is subtle to spot, but authentication and
authorization is a different thing and it's managed differently
whether you are allowing basic login or not I did an incorrect
assumption making my tests and replying before
if you try with the decorator @auth.requires_membership('
On Sun, Jan 30, 2011 at 9:16 PM, Niphlod wrote:
> try with auth.settings.on_failed_authorization =
> failedAuthHandlerandler()
>
> it works for me ^_^
>
Not for me! And I can't see how.
Miguel
try with auth.settings.on_failed_authorization =
failedAuthHandlerandler()
it works for me ^_^
On Jan 30, 9:29 pm, Miguel Lopes wrote:
> I'm still in need of help. Here's what I've managed to find.
> My problem is that if I don't use good credentials in the command line
> I get an exception b
I'm on my way out as a first thing, try it with
auth.settings.on_failed_authorization = failedAuthHandler()
On Jan 30, 9:29 pm, Miguel Lopes wrote:
> I'm still in need of help. Here's what I've managed to find.
> My problem is that if I don't use good credentials in the command line
> I get
I'm still in need of help. Here's what I've managed to find.
My problem is that if I don't use good credentials in the command line
I get an exception because web2py is replying with the login_url. This
suggests that the failedAuthHandler I'm using in
auth.settings.on_failed_authorization is not wo
5 matches
Mail list logo