diff options
author | David Christiansen <david.christiansen@civil.lmco.com> | 2015-01-05 10:45:17 +0000 |
---|---|---|
committer | David Christiansen <david.christiansen@civil.lmco.com> | 2015-01-05 10:45:17 +0000 |
commit | 5f32fd6712b40b58202265035eac3ecf69508826 (patch) | |
tree | 7db73442d0d794028b90d6c0b38cd4e11414f17e /samples/OAuthAuthorizationServer/Controllers/AccountController.cs | |
parent | a14dcb800b25d1b0477ab123b6865d90865f96f0 (diff) | |
parent | b6bf259bc1d6a924207f5ac7e7b9b016aa87b73a (diff) | |
download | DotNetOpenAuth-5f32fd6712b40b58202265035eac3ecf69508826.zip DotNetOpenAuth-5f32fd6712b40b58202265035eac3ecf69508826.tar.gz DotNetOpenAuth-5f32fd6712b40b58202265035eac3ecf69508826.tar.bz2 |
Merge branch 'master' of https://github.com/rcollette/DotNetOpenAuth into rcollette-master
Diffstat (limited to 'samples/OAuthAuthorizationServer/Controllers/AccountController.cs')
-rw-r--r-- | samples/OAuthAuthorizationServer/Controllers/AccountController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/OAuthAuthorizationServer/Controllers/AccountController.cs b/samples/OAuthAuthorizationServer/Controllers/AccountController.cs index 9c755ea..b3d24a2 100644 --- a/samples/OAuthAuthorizationServer/Controllers/AccountController.cs +++ b/samples/OAuthAuthorizationServer/Controllers/AccountController.cs @@ -30,6 +30,7 @@ } var response = await request.GetRedirectingResponseAsync(); + Response.ContentType = response.Content.Headers.ContentType.ToString(); return response.AsActionResult(); } else { ModelState.AddModelError(string.Empty, "The identifier you supplied is not recognized as a valid OpenID Identifier."); @@ -75,4 +76,4 @@ return RedirectToAction("Index", "Home"); } } -} +}
\ No newline at end of file |