Skip to content
Browse files

Merge pull request #1 from dahlbyk/patch-1

HttpContext.Current
  • Loading branch information...
2 parents 7e89d33 + c6a1b0e commit d1dfa17cc3bc426a27f0aeed28a149b00fbfb3e8 @shanselman committed Jan 27, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 MVC4/PersonaMVC4Example/Controllers/PersonaController.cs
View
3 MVC4/PersonaMVC4Example/Controllers/PersonaController.cs
@@ -35,8 +35,7 @@ public class PersonaController : ApiController
var content = new FormUrlEncodedContent(
new Dictionary<string, string> {
{ "assertion", assertion },
- { "audience", HttpContext.Current.Request.Url.Host }
- //TODO: Can I get this without HttpContext.Current?
+ { "audience", Request.Url.Host },
}
);
var result = await client.PostAsync("https://verifier.login.persona.org/verify", content);

0 comments on commit d1dfa17

Please sign in to comment.
Something went wrong with that request. Please try again.