diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-07 20:20:54 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-07 20:20:54 -0800 |
commit | 473084ea15b48b0a921db009bb8de6dfe714a0c8 (patch) | |
tree | 8811a2358ff8780e9d6ecfb1cecdce0be29f2bcf /projecttemplates/MvcRelyingParty/Controllers/AccountController.cs | |
parent | 1b4ca4a61deec6f823340fb7b22e0223835f9433 (diff) | |
download | DotNetOpenAuth-473084ea15b48b0a921db009bb8de6dfe714a0c8.zip DotNetOpenAuth-473084ea15b48b0a921db009bb8de6dfe714a0c8.tar.gz DotNetOpenAuth-473084ea15b48b0a921db009bb8de6dfe714a0c8.tar.bz2 |
The MVC OpenID selector now appears in a jQuery popup dialog.
Woot.
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Controllers/AccountController.cs')
-rw-r--r-- | projecttemplates/MvcRelyingParty/Controllers/AccountController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs b/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs index af0cbb8..33217e9 100644 --- a/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs +++ b/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs @@ -93,7 +93,7 @@ /// because some OpenID positive assertions messages otherwise look like /// hack attempts and result in errors when validation is turned on. /// </remarks> - [AcceptVerbs(HttpVerbs.Get | HttpVerbs.Post), ValidateInput(false)] + [AcceptVerbs(HttpVerbs.Post), ValidateInput(false)] public ActionResult LogOnPostAssertion(string openid_openidAuthData) { IAuthenticationResponse response; if (!string.IsNullOrEmpty(openid_openidAuthData)) { @@ -114,7 +114,7 @@ case AuthenticationStatus.Authenticated: var token = RelyingPartyLogic.User.ProcessUserLogin(response); this.FormsAuth.SignIn(token.ClaimedIdentifier, false); - string returnUrl = response.GetUntrustedCallbackArgument("returnUrl"); + string returnUrl = Request.Form["returnUrl"]; if (!String.IsNullOrEmpty(returnUrl)) { return Redirect(returnUrl); } else { |