I wonder, does the REMOTE _USER get created first when there is a 403
or 401?
I tried to test
class TestController(BaseController):
def index(self):
if request.environ.has_key('REMOTE_USER'):
print "wwww"
request.environ['paste.auth_tkt.set_user'](username)
and I get this traceback promptly
request.environ['paste.auth_tkt.set_user'](username)
exceptions.KeyError: 'paste.auth_tkt.set_user'
it just does not exist
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---