Jack Phoenix has uploaded a new change for review.
https://gerrit.wikimedia.org/r/151572
Change subject: Pass in the login token so that logging in actually works.
......................................................................
Pass in the login token so that logging in actually works.
On wikiHow this was implemented as a very nasty core hack to
includes/specials/SpecialUserlogin.php, function authenticateUserData().
Change-Id: I938d3924b0057d5631224fd38a4d0b4667ea47fb
---
M BlueSky.skin.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/BlueSky
refs/changes/72/151572/1
diff --git a/BlueSky.skin.php b/BlueSky.skin.php
index 5386266..43f5a37 100644
--- a/BlueSky.skin.php
+++ b/BlueSky.skin.php
@@ -1424,7 +1424,8 @@
'action' => 'submitlogin',
'type' => 'login',
'autoredirect' => urlencode(
$this->getTitle()->getPrefixedURL() ),
- 'sitelogin' => '1'
+ 'sitelogin' => '1',
+ 'wpLoginToken' => ( !LoginForm::getLoginToken()
) ? LoginForm::setLoginToken() : LoginForm::getLoginToken()
) );
// wikiHow's SSL_LOGIN_DOMAIN constant is not supported
intentionally
--
To view, visit https://gerrit.wikimedia.org/r/151572
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I938d3924b0057d5631224fd38a4d0b4667ea47fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/BlueSky
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits