r33522 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r33521
|
r33522
|
r33523
>
Date:
21:34, 17 April 2008
Author:
brion
Status:
old
Tags:
Comment:
*cough* whoops, fix gaping security hole
Modified paths:
/trunk/extensions/CentralAuth/CentralAuthHooks.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/CentralAuth/CentralAuthHooks.php
—
—
@@ -95,7 +95,7 @@
96
96
97
97
$centralUser = CentralAuthUser::getInstance( $user );
98
98
99
- if ($centralUser->exists()) {
99
+ if ($centralUser->exists() && $centralUser->isAttached()) {
100
100
$centralUser->setGlobalCookies($user);
101
101
} else {
102
102
return true;
Status & tagging log
15:26, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r33522
[
removed:
ok
added:
old]