File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/Identity/UI/src/Areas/Identity/Pages Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ public override async Task<IActionResult> OnPostAsync(string returnUrl = null)
124
124
{
125
125
returnUrl = returnUrl ?? Url . Content ( "~/" ) ;
126
126
127
+ ExternalLogins = ( await _signInManager . GetExternalAuthenticationSchemesAsync ( ) ) . ToList ( ) ;
128
+
127
129
if ( ModelState . IsValid )
128
130
{
129
131
// This doesn't count login failures towards account lockout
Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ public override async Task<IActionResult> OnPostAsync(string returnUrl = null)
123
123
{
124
124
returnUrl = returnUrl ?? Url . Content ( "~/" ) ;
125
125
126
+ ExternalLogins = ( await _signInManager . GetExternalAuthenticationSchemesAsync ( ) ) . ToList ( ) ;
127
+
126
128
if ( ModelState . IsValid )
127
129
{
128
130
// This doesn't count login failures towards account lockout
You can’t perform that action at this time.
0 commit comments