diff options
Diffstat (limited to 'djangorestframework/authentication.py')
| -rw-r--r-- | djangorestframework/authentication.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/djangorestframework/authentication.py b/djangorestframework/authentication.py index e326c15a..cb95fb81 100644 --- a/djangorestframework/authentication.py +++ b/djangorestframework/authentication.py @@ -87,8 +87,6 @@ class UserLoggedInAuthentication(BaseAuthentication): Returns a :obj:`User` if the request session currently has a logged in user. Otherwise returns :const:`None`. """ - request.DATA # Make sure our generic parsing runs first - if getattr(request, 'user', None) and request.user.is_active: # Enforce CSRF validation for session based authentication. resp = CsrfViewMiddleware().process_view(request, None, (), {}) |
