Hacker News new | ask | show | jobs
by siong1987 5594 days ago
I don't think that the op will want to show a 404 page. If a user is logged in, I will redirect the user to the homepage. Why let the user accesses the login page if the user has already logged in?

I guess that is what the op trying to do.

1 comments

So they can log in as a different user?

So they can use the back arrow and go to the page they at before login redirected them?

I found Drupal's hiding of the login page once I was logged to be truly annoying on a site I regularly visited (till it was apparently changed recently).