Skip to content

Commit

Permalink
Merge pull request #5 from Nestio/update_is_authenticated
Browse files Browse the repository at this point in the history
Updating  call because it is now a property
  • Loading branch information
Yukilas authored Aug 3, 2022
2 parents 16de7f7 + c4c2125 commit bc08a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_remember/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __call__(self, request):
return self.process_response(request, response)

def process_request(self, request):
if request.user.is_authenticated():
if request.user.is_authenticated:
request.user.is_fresh = request.session.get(SESSION_KEY, False)
return

Expand Down

0 comments on commit bc08a51

Please sign in to comment.