Skip to content

Commit

Permalink
Small spelling fix in Index.cshtml.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SeppPenner authored and AndersAbel committed Nov 10, 2023
1 parent 19d1d63 commit 0730403
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hosts/AspNetIdentity/Pages/Account/Login/Index.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ private async Task BuildModelAsync(string? returnUrl)
AuthenticationScheme = x.Name
}).ToList();

var dyanmicSchemes = (await _identityProviderStore.GetAllSchemeNamesAsync())
var dynamicSchemes = (await _identityProviderStore.GetAllSchemeNamesAsync())
.Where(x => x.Enabled)
.Select(x => new ViewModel.ExternalProvider
{
AuthenticationScheme = x.Scheme,
DisplayName = x.DisplayName
});
providers.AddRange(dyanmicSchemes);
providers.AddRange(dynamicSchemes);


var allowLocal = true;
Expand All @@ -212,4 +212,4 @@ private async Task BuildModelAsync(string? returnUrl)
ExternalProviders = providers.ToArray()
};
}
}
}

0 comments on commit 0730403

Please sign in to comment.