mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
a9ead1938b
Upon building the menu components for logged in users, the logoutToken was not properly appended to the logout URL. The URL is supposed to be `?title=Special:UserLogout&returnto=...&logoutToken=...` and not what was rendered previously, see below `?title=Special:UserLogout&<token>` The absense of the 'logoutToken' param prompted an intermediate step asking users to confirm the logout action. We don't need this in Minerva if users want to logout from their accounts and asking users to confirm this action is annoying. We want the user to be able to logout when the "Logout" button is clicked and the system would have generated a logout token and appended to the logout URL in the format specified above. This patch has been tested locally and everything works just fine. Bug: T225220 Change-Id: I20f30db707915179a0604a1dc9061d8db225a230 |
||
---|---|---|
.. | ||
menu | ||
skins | ||
MinervaHooks.php | ||
MinervaUI.php | ||
ResourceLoaderLessVarFileModule.php | ||
ServiceWiring.php | ||
SkinOptions.php |