On 23 Maj, 13:28, Jan Koprowski <[email protected]> wrote:
> Hi !
>
>   I try make authkit transparent in test environment by set in
> test.ini authkit.setup.enable = false but after that I get KeyError in
> line where i login (i do this by myself) request.environ
> ['paste.auth_tkt.set_user']('username')
>   Any propositions what i should do with this ?

I just add something like:

if request.environ['autkit.setup.enable'] == 'true':
    request.environ['paste.auth_tkt.set_user']('username')

:)

Greetings from Poland !
--
Jan Koprowski
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
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