Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why redirect_to_login when target URL does not require login #15

Open
rafrafek opened this issue Feb 10, 2021 · 2 comments
Open

Why redirect_to_login when target URL does not require login #15

rafrafek opened this issue Feb 10, 2021 · 2 comments

Comments

@rafrafek
Copy link

If target URL does not require login and session_is_expired is true, user should continue to target URL instead of being redirected to login page!

@Lapeth
Copy link

Lapeth commented Sep 19, 2022

Agreed. Alternatively, a method should be run (defined in settings?) that takes a request and lets the developer decide whether to redirect.

@Lapeth
Copy link

Lapeth commented Sep 21, 2022

Made a fork in case anyone runs into this: https://github.com/Lapeth/django-session-timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants