summaryrefslogtreecommitdiffstats
path: root/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-06-10 20:57:01 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-06-10 20:57:01 -0700
commit0ac3ef469cd62c75c0adc95c15f570ee2fc23830 (patch)
tree69ec78d583f77f1a4b3ab9d1121494850536d511 /projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs
parent22ef58bc2954d2bbf2aa2006221f77ce93c6e707 (diff)
downloadDotNetOpenAuth-0ac3ef469cd62c75c0adc95c15f570ee2fc23830.zip
DotNetOpenAuth-0ac3ef469cd62c75c0adc95c15f570ee2fc23830.tar.gz
DotNetOpenAuth-0ac3ef469cd62c75c0adc95c15f570ee2fc23830.tar.bz2
Replaced call to deprecated method.
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs')
-rw-r--r--projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs b/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs
index 4501f52..7931200 100644
--- a/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs
+++ b/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs
@@ -90,7 +90,7 @@
public string PreloadDiscoveryResults(Realm realm, Uri returnTo, Uri privacyPolicy, params Identifier[] identifiers) {
return relyingParty.AsAjaxPreloadedDiscoveryResult(
- identifiers.Select(id => this.CreateRequests(id, realm, returnTo, privacyPolicy)).Flatten());
+ identifiers.SelectMany(id => this.CreateRequests(id, realm, returnTo, privacyPolicy)));
}
public ActionResult ProcessAjaxOpenIdResponse() {