Skip to content

Commit

Permalink
Address requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Jan 25, 2024
1 parent 9380f5d commit 7a48bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/simple_openid_connect/integrations/django/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def check_middleware(*args, **kwargs) -> List[Union[Warning, Error]]:
"Access tokens are not checked for expiry and users are not automatically logged out when their access token expires.",
hint="Add 'simple_openid_connect.integrations.django.middleware.TokenVerificationMiddleware' to MIDDLEWARE.",
obj="simple_openid_connect",
id="simple_openid_connect.W001",
)
]
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ def __call__(self, request: HttpRequest) -> HttpResponse:
openid_session.save()
return response
else:
return HttpResponseRedirect(reverse("logout"))
return HttpResponseRedirect(reverse("login"))

0 comments on commit 7a48bf6

Please sign in to comment.