2011/5/27 Graham Dumpleton <[email protected]>:
> Anyway, since this is about the third time that there has been a
> request for a way to change REMOTE_USER I'll give some thought to how
> one could do it.
Cool.
> Also option to suggestions on how you think you would
> like to see it done, remembering you can't change the API to the
> check_password function().
I just started using mod_wsgi so I do not know about internals and
details but when I started using it I hoped I could do this in the
check_password() function:
def check_password(environ, user, pw):
#more code before this statement
environ['REMOTE_USER'] = user+"@"+userdomain
Now I don't know if "environ" is even mutable but this seemed most
obvious to me, as it worked similarly with mod_python.
Frederik
--
You received this message because you are subscribed to the Google Groups
"modwsgi" 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/modwsgi?hl=en.