Last modified: 2012-02-09 23:01:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16447, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14447 - Can't log in without logging out
Can't log in without logging out
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-06 18:58 UTC by Misza
Modified: 2012-02-09 23:01 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Misza 2008-06-06 18:58:20 UTC
Steps to replicate problem (you need two accounts):
1. Log in with account #1
2. Visit Special:Userlogin again but *without logging out first*
3. Log in with account #2
4. The site will tell you that you that you have successfully logged in as account #2, but...
5. [the problem] ...after visiting another page (any page) the interface again says you're account #1 (likewise on other wikis).
Comment 1 Misza 2008-06-06 19:50:37 UTC
Small update: this only seems to happen when acc. #1 is global while #2 is only local.
Comment 2 Max Semenik 2008-07-26 08:25:44 UTC
This bug is extremely annoying.

Apparently, in CentralAuthHooks.php, function onUserLoginComplete the block

		if (!$centralUser->exists() || !$centralUser->isAttached()) {
			return true;
		}

should nuke global session cookies instead of simply returning.
Comment 3 Sam Reed (reedy) 2012-02-09 23:01:44 UTC
r111118

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links