diff options
-rw-r--r-- | django_restricted_resource/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django_restricted_resource/utils.py b/django_restricted_resource/utils.py index 482e3fd..06175ce 100644 --- a/django_restricted_resource/utils.py +++ b/django_restricted_resource/utils.py @@ -24,5 +24,5 @@ def filter_bogus_users(user): If the user is `None' then he's not trusted, period, no need to check deeper. """ - if user is not None and user.is_authenticated() and user.is_active: + if user is not None and user.is_authenticated and user.is_active: return user |