Skip to content

Commit

Permalink
Very experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi0g committed Mar 3, 2024
1 parent 71b5999 commit 240985f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oidc_server/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def __init__(self, get_response):
# One-time configuration and initialization.

def __call__(self, request):
query_dict = (self.request.POST if self.request.method == 'POST'
else self.request.GET)
query_dict = (request.POST if request.method == 'POST'
else request.GET)

host = query_dict.get('host', '')
redirect_uri = query_dict.get('redirect_uri', '')
Expand Down

0 comments on commit 240985f

Please sign in to comment.