Commit 4cc36f0a authored by Mark A. Hershberger's avatar Mark A. Hershberger
Browse files

PluggableAuth::login should call $user->setCookies()

Set cookies so that API calls (e.g. those made by VisualEditor) can be properly authenticated.

Bug: T140114
Change-Id: Ibfc5a31c01f859103605a3c4878e36ff2e8dedb9
parent 31605d73
......@@ -219,6 +219,7 @@ abstract class PluggableAuth {
$new_user = false;
wfDebug( "Authenticated existing user: " . $user->mName . PHP_EOL );
} else {
wfDebug( "Authentication failure." . PHP_EOL );
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment