Update of wrong variable name
To avoid confusion when reading the code
This commit is contained in:
parent
0fd6f1554a
commit
9de5519c8b
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue