changeset 4535:0cac33a38cb9

werkzeug: fix remote_user value
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 03 Feb 2009 05:40:26 +0100
parents 0b176807b07c
children 9b4c9f73b632
files MoinMoin/support/werkzeug/wrappers.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/support/werkzeug/wrappers.py	Tue Feb 03 05:38:44 2009 +0100
+++ b/MoinMoin/support/werkzeug/wrappers.py	Tue Feb 03 05:40:26 2009 +0100
@@ -297,7 +297,7 @@
         return self.environ.get('REMOTE_ADDR')
     remote_addr = property(remote_addr)
 
-    remote_user = environ_property('REMOTE_ADDR', doc='''
+    remote_user = environ_property('REMOTE_USER', doc='''
         If the server supports user authentication, and the script is
         protected, this attribute contains the username the user has
         authenticated as.''')