aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/app.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-04-03 18:40:01 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-04-03 18:40:01 -0500
commita3fdcf5ce0fafe3ad50429a9a0870a40717ccb75 (patch)
tree9d8743ff87cf40ca318f851c61994507e30ed152 /mediagoblin/app.py
parent5d6840a0107448550437ce2360dfc905797e47a7 (diff)
downloadmediagoblin-a3fdcf5ce0fafe3ad50429a9a0870a40717ccb75.tar.lz
mediagoblin-a3fdcf5ce0fafe3ad50429a9a0870a40717ccb75.tar.xz
mediagoblin-a3fdcf5ce0fafe3ad50429a9a0870a40717ccb75.zip
This should allow for request.user and show users logged in
... except it's not working?
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r--mediagoblin/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py
index cc8cec31..a9ae223c 100644
--- a/mediagoblin/app.py
+++ b/mediagoblin/app.py
@@ -79,9 +79,9 @@ class MediagoblinApp(object):
request.template_env = self.template_env
request.urlgen = routes.URLGenerator(self.routing, environ)
request.db = self.db
-
# Do we really want to load this via middleware? Maybe?
request.session = request.environ['beaker.session']
+ util.setup_user_in_request(request)
return controller(request)(environ, start_response)