[wp-meta] [Making WordPress.org] #3823: Using Locale Switcher on Logout Page redirects to Profile page
Making WordPress.org
noreply at wordpress.org
Fri Sep 21 17:26:33 UTC 2018
#3823: Using Locale Switcher on Logout Page redirects to Profile page
------------------------------------+--------------------
Reporter: garrett-eclipse | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Login & Authentication | Keywords:
------------------------------------+--------------------
Hello,
While writing #3821 I noticed that using the Locale Switcher on the Logout
page redirects you to your profile page.
To reproduce;
1. Make sure you're logged in.
2. From this Trac ticket click Logout at the top of the page.
3. From the https://login.wordpress.org/logout page use the Locale
Switcher to select an alternate language
4. Note that you've been redirected to your profile.
Now if the result of #3821 is to remove the logout and loggedout pages
from the flow and instead logout and reload current page then users won't
be able to get to the logout page so this issue is moot.... But if the
logout page will continue to exist moving forward then this would be an
issue.
I believe what happens is when the Locale Switcher is invoked the user is
taken from the logout page to the login page with the locale appended. And
since the login page has logic detecting if a user is logged in and
redirecting to their profile then this occurs.
Thanks
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3823>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list