Skip to content

Commit

Permalink
Merge pull request #42 from piloos/master
Browse files Browse the repository at this point in the history
Fixes #41, middleware compatible with prefixed URLs
  • Loading branch information
tarak committed Aug 31, 2015
2 parents a4eb12e + 5950c39 commit bb959b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion password_policies/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def process_request(self, request):
if request.method != 'GET':
return
try:
resolve(request.path)
resolve(request.path_info)
except Resolver404:
return
self.now = timezone.now()
Expand Down

0 comments on commit bb959b9

Please sign in to comment.