django-session-timeout icon indicating copy to clipboard operation
django-session-timeout copied to clipboard

Why redirect_to_login when target URL does not require login

Open rafrafek opened this issue 4 years ago • 2 comments

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!

rafrafek avatar Feb 10 '21 11:02 rafrafek

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

Lapeth avatar Sep 19 '22 10:09 Lapeth

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

Lapeth avatar Sep 21 '22 14:09 Lapeth