Redirect users away from /login, if they are already logged in #4977
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
Environment
Proposed Functionality
When a already logged-in user access the
/login
url, they should be redirected to home or to the page from the parameternext
.I created a simple PoC: n0emis@061549b
Use Case
This would be especially usefull when using a Remote-Auth-Backend like
django.contrib.auth.middleware.PersistentRemoteUserMiddleware
, where the HTTP-Header only get's send when accessing the login-page.Database Changes
No database-changes required
External Dependencies
No new external Dependencies required
The text was updated successfully, but these errors were encountered: