Page MenuHomePhabricator

Going to `account/login/` or `account/register` while user is logged in should display 'Already registered/logged in' error
Open, LowPublic

Description

screenshot_20181214_145658.png (552×821 px, 35 KB)

screenshot_20181214_145638.png (726×819 px, 59 KB)

Event Timeline

Perhaps you could redirect the user to the homepage instead?

Maybe displaying already logged in/registered error and then redirecting? @Urbanecm

I prefer an error message saying "You're already logged in. You can go to the main page." with a link instead of redirecting. Anyway, if you make another good solution, it's fine from my side too ;).

Not actively working on this task.

Change #1081240 had a related patch set uploaded (by Aryan20; author: Aryan20):

[wikimedia-cz/tracker@master] Add new page for when visiting auth pages while logged in

https://gerrit.wikimedia.org/r/1081240