From e9f58dae967c48b71baedbbfed899f50f327d3a2 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 12 Dec 2018 20:22:03 +0100 Subject: [PATCH] sort idps alphabetically Signed-off-by: Bjoern Schiessle --- lib/SAMLSettings.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/SAMLSettings.php b/lib/SAMLSettings.php index 58bd129..39fd101 100644 --- a/lib/SAMLSettings.php +++ b/lib/SAMLSettings.php @@ -71,6 +71,8 @@ class SAMLSettings { $result[$id] = $this->config->getAppValue('user_saml', $prefix . 'general-idp0_display_name', ''); } + asort($result); + return $result; }