Skip to content

Commit

Permalink
Fix for umbraco#11591
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield committed Nov 6, 2021
1 parent ba7db3b commit 1117440
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public async Task<SignInResult> ExternalLoginSignInAsync(ExternalLoginInfo login
if (shouldSignIn == false)
{
Logger.LogWarning("The AutoLinkOptions of the external authentication provider '{LoginProvider}' have refused the login based on the OnExternalLogin method. Affected user id: '{UserId}'", loginInfo.LoginProvider, user.Id);
return SignInResult.NotAllowed;
}
}

Expand Down

0 comments on commit 1117440

Please sign in to comment.