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 the
> > middleware:
>
> >     app = authkit.authenticate.middleware(app, config_paste=app_conf)
>
> Did you inserted this line before
>
>     app = ErrorHandler(app, global_conf, error_template=error_template, 
> **config.errorware)
>
> or after?

Yep, I put it in the wrong place.

Btw, is it possible to protect user from misconfiguring middleware
stack as I did?

Max.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to