1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

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
This commit is contained in:
epriestley 2013-06-20 14:04:36 -07:00
parent 052193ce2d
commit 619069e234

View file

@ -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),