summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Christiansen <DavidChristiansen@users.noreply.github.com>2016-03-25 11:28:16 +0000
committerDavid Christiansen <DavidChristiansen@users.noreply.github.com>2016-03-25 11:28:16 +0000
commite774db2029a57f439db894cf798bd8bb22f5e84a (patch)
treea3c349f57269ecd8e7c73b15e63226e3911ce4aa /src
parent369182b4eeb189cd38b87b1f31bd624f55ce96e0 (diff)
parentd743a32025afc30205591b73117bcecb5a16c295 (diff)
downloadDotNetOpenAuth-e774db2029a57f439db894cf798bd8bb22f5e84a.zip
DotNetOpenAuth-e774db2029a57f439db894cf798bd8bb22f5e84a.tar.gz
DotNetOpenAuth-e774db2029a57f439db894cf798bd8bb22f5e84a.tar.bz2
Merge pull request #383 from agametov/develop
fix sort endpoints
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/AuthenticationRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/AuthenticationRequest.cs b/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/AuthenticationRequest.cs
index fcdc465..84addd7 100644
--- a/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/AuthenticationRequest.cs
+++ b/src/DotNetOpenAuth.OpenId.RelyingParty/OpenId/RelyingParty/AuthenticationRequest.cs
@@ -510,7 +510,7 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
}
// Sort endpoints so that the first one in the list is the most preferred one.
- filteredEndpoints.OrderBy(ep => ep, relyingParty.EndpointOrder);
+ filteredEndpoints = filteredEndpoints.OrderBy(ep => ep, relyingParty.EndpointOrder).ToList();
var endpointList = new List<IdentifierDiscoveryResult>(filteredEndpoints.Count);
foreach (var endpoint in filteredEndpoints) {