]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/context.py
Fixes OSQA 455. Multiple cross site scripting(XSS) vulnerabilities.
[osqa.git] / forum / context.py
index ce7d1b1eed87aec1fa630f19b7292dd579b6adf7..641af38243d484d10d338e9ed8c57fdead6b78a4 100644 (file)
@@ -4,13 +4,6 @@ def application_settings(context):
     return {'settings': settings}
 
 def auth_processor(request):
-    """
-    Returns context variables required by apps that use Django's authentication
-    system.
-
-    If there is no 'user' attribute in the request, uses AnonymousUser (from
-    django.contrib.auth).
-    """
     if hasattr(request, 'user'):
         user = request.user
         if user.is_authenticated():