summaryrefslogtreecommitdiffstats
path: root/samples/OAuthAuthorizationServer/Controllers/AccountController.cs
diff options
context:
space:
mode:
authorDavid Christiansen <david.christiansen@civil.lmco.com>2015-01-05 10:45:17 +0000
committerDavid Christiansen <david.christiansen@civil.lmco.com>2015-01-05 10:45:17 +0000
commit5f32fd6712b40b58202265035eac3ecf69508826 (patch)
tree7db73442d0d794028b90d6c0b38cd4e11414f17e /samples/OAuthAuthorizationServer/Controllers/AccountController.cs
parenta14dcb800b25d1b0477ab123b6865d90865f96f0 (diff)
parentb6bf259bc1d6a924207f5ac7e7b9b016aa87b73a (diff)
downloadDotNetOpenAuth-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.cs3
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