Skip to content
Snippets Groups Projects
Commit 51305a3a authored by Balazs Varga's avatar Balazs Varga
Browse files

bugfix: Mediawiki needs usernames in capital

parent ae2beb02
No related branches found
No related tags found
No related merge requests found
......@@ -341,6 +341,10 @@ function ShibUserLoadFromSession($user, &$result)
global $shib_map_info_existing;
global $shib_pretend;
//MW needs usernames in capital!
$shib_UN = Title::makeTitleSafe( NS_USER, $shib_UN);
$shib_UN = $shib_UN->getText();
ShibKillAA();
//For versions of mediawiki which enjoy calling AutoAuth with null users
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment