Hi Yury,
On Apr 16, 8:20 pm, Yury Yurevich <[EMAIL PROTECTED]> wrote:
> > I am trying to setup authkit (0.3pre5) in my Pylons project (0.9.5) but for
> > some reason it doesn't work. When I raise 401/403 errors they are displayed
> > as is instead of being intercepted by authkit. I did inserted t
On 18:22:44 Mon 16 Apr, Max Ischenko wrote:
> Hello,
>
> I am trying to setup authkit (0.3pre5) in my Pylons project (0.9.5) but for
> some reason it doesn't work. When I raise 401/403 errors they are displayed
> as is instead of being intercepted by authkit. I did inserted the
> middleware:
Hi Max,
> You're right. I misread the docs and put it right _before_ the
> httpexceptions middleware.
Glad you sorted it!
> The timestamp is right on http://authkit.org/docs/pylons.html page. ;)
Most strange!
Cheers,
James
--~--~-~--~~~---~--~~
You received
Hi James,
On 4/16/07, James Gardner <[EMAIL PROTECTED]> wrote:
>
> It looks like the middleware is setup incorrectly, it needs to go after
> the httpexceptions middleware and before the error documents middleware.
>
> > http://authkit.org/docs/pylons.html#getting-started
You're right. I misread
I highly recommend this tutorial ...
http://pylonshq.com/project/pylonshq/wiki/PylonsWithAuthKitDatabase
Max Ischenko wrote:
> Hello,
>
> I am trying to setup authkit (0.3pre5) in my Pylons project (0.9.5)
> but for some reason it doesn't work. When I raise 401/403 errors they
> are displayed
Hi Max,
It seems to work fine for me in 0.9.5. Where abouts did you put the
middleware line in config/middleware.py? Could you send me that file?
Also what does your controller look like? Can you send me your config
file too and I'll take a look. Are you doing anything complicated?
It looks l
Hello,
I am trying to setup authkit (0.3pre5) in my Pylons project (0.9.5) but for
some reason it doesn't work. When I raise 401/403 errors they are displayed
as is instead of being intercepted by authkit. I did inserted the
middleware:
app = authkit.authenticate.middleware(app, config_paste=