diff options
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Views/Auth/LogOnScripts.ascx')
-rw-r--r-- | projecttemplates/MvcRelyingParty/Views/Auth/LogOnScripts.ascx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/projecttemplates/MvcRelyingParty/Views/Auth/LogOnScripts.ascx b/projecttemplates/MvcRelyingParty/Views/Auth/LogOnScripts.ascx index 64c4fae..0ebc38b 100644 --- a/projecttemplates/MvcRelyingParty/Views/Auth/LogOnScripts.ascx +++ b/projecttemplates/MvcRelyingParty/Views/Auth/LogOnScripts.ascx @@ -3,4 +3,9 @@ <script type="text/javascript" src='<%= Url.Content("~/Scripts/MicrosoftAjax.js") %>'></script> <script type="text/javascript" src='<%= Url.Content("~/Scripts/MicrosoftMvcAjax.js") %>'></script> <script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.cookie.js") %>'></script> -<%= Html.OpenIdSelectorScripts(this.Page)%> +<% + var options = new OpenIdAjaxOptions { + PreloadedDiscoveryResults = (string)this.ViewData["PreloadedDiscoveryResults"], + }; +%> +<%= Html.OpenIdSelectorScripts(this.Page, null, options)%> |