If not, I suggest fixing it.
Fixing what?
Why would you want to log in when you are already logged?
The redirection is normal.
Why would you want to log in when you are already logged?
The redirection is normal.
But it should always redirect to the target URL after the “?next=” instead of the home page.
It does when you are actually login in.
I know.
But on most websites, it also auto-detects whether the user is already logged in, and if one is, then it also redirects to the target URL instead of the home page.
This could be useful for invitation links that encourage new users to log in before opening a page while redirecting already logged users to the intended target page instead of the home page.
I have just tested it on Voat.co.
Their login page always redirects to the target page, not only when logged in.
(post is archived)