Commit 3711ce4d authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1650995: Fixing IdP discovery page sort order"

parents 02cd11d0 5f62ff6c
......@@ -344,6 +344,9 @@ function auth_saml_disco_screen($list, $preferred) {
$idps[]= array('idpentityid' => $entityid, 'name' => $name, 'description' => $desc, 'logo' => $idplogo);
}
usort($idps, function($a, $b) {
return $a['name'] > $b['name'];
});
$idps = array(
'count' => count($idps),
'limit' => count($idps),
......
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