From 619069e234004e78f5e48bd8bdec88f6d8b65084 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 20 Jun 2013 14:04:36 -0700 Subject: [PATCH] Show providers in login order, not alphabetical order Summary: Ref T1536. Mostly, this puts "username/password" (which is probably a common selection) first on the list. Test Plan: {F47010} Reviewers: chad, btrahan Reviewed By: chad CC: aran Maniphest Tasks: T1536 Differential Revision: https://secure.phabricator.com/D6254 --- .../auth/controller/config/PhabricatorAuthNewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/auth/controller/config/PhabricatorAuthNewController.php b/src/applications/auth/controller/config/PhabricatorAuthNewController.php index 01da88c59d..4d28838d80 100644 --- a/src/applications/auth/controller/config/PhabricatorAuthNewController.php +++ b/src/applications/auth/controller/config/PhabricatorAuthNewController.php @@ -46,7 +46,7 @@ final class PhabricatorAuthNewController ->setName('provider') ->setError($e_provider); - $providers = msort($providers, 'getProviderName'); + $providers = msort($providers, 'getLoginOrder'); foreach ($providers as $provider) { $options->addButton( get_class($provider),