summaryrefslogtreecommitdiffstats
path: root/askbot/middleware
diff options
context:
space:
mode:
authorRag Sagar.V <ragsagar@gmail.com>2011-09-20 23:38:15 +0530
committerRag Sagar.V <ragsagar@gmail.com>2011-09-20 23:38:15 +0530
commit9131ca6dde7610b5a42130b8a77a5843fea6b824 (patch)
tree1a32ef697408f67fe29c1b030147fc7fc10fcca5 /askbot/middleware
parent02d92662edfa8a4434355acc6d7d10ba4998b136 (diff)
downloadaskbot-9131ca6dde7610b5a42130b8a77a5843fea6b824.tar.gz
askbot-9131ca6dde7610b5a42130b8a77a5843fea6b824.tar.bz2
askbot-9131ca6dde7610b5a42130b8a77a5843fea6b824.zip
fixed appearance of anonymous user message when user logs out
Diffstat (limited to 'askbot/middleware')
-rw-r--r--askbot/middleware/anon_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/middleware/anon_user.py b/askbot/middleware/anon_user.py
index d49ac204..7734cd2c 100644
--- a/askbot/middleware/anon_user.py
+++ b/askbot/middleware/anon_user.py
@@ -37,7 +37,7 @@ class ConnectToSessionMessagesMiddleware(object):
request.user.message_set.create(message=msg)
def process_response(self, request, response):
- """ Sets the stranger flag if user ever authenticates so that the
+ """ Adds the stranger key to cookie if user ever authenticates so that the
anonymous user message won't be shown. """
if request.user.is_authenticated() and \
'stranger' not in request.COOKIES :