Update of wrong variable name

To avoid confusion when reading the code
This commit is contained in:
Jean Collas 2017-03-08 04:48:02 +01:00 committed by Chris R
parent 0fd6f1554a
commit 9de5519c8b
1 changed files with 2 additions and 2 deletions

View File

@ -238,9 +238,9 @@ namespace SocialSample
app.UseOAuthAuthentication(githubOptions); app.UseOAuthAuthentication(githubOptions);
// Choose an authentication type // Choose an authentication type
app.Map("/login", signoutApp => app.Map("/login", signinApp =>
{ {
signoutApp.Run(async context => signinApp.Run(async context =>
{ {
var authType = context.Request.Query["authscheme"]; var authType = context.Request.Query["authscheme"];
if (!string.IsNullOrEmpty(authType)) if (!string.IsNullOrEmpty(authType))