Skip to content

Commit 25e82dd

Browse files
rickbutterfieldbergmania
authored andcommitted
Fix for #11591
1 parent 7ffa46d commit 25e82dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public async Task<SignInResult> ExternalLoginSignInAsync(ExternalLoginInfo login
7878
if (shouldSignIn == false)
7979
{
8080
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);
81+
return SignInResult.NotAllowed;
8182
}
8283
}
8384

0 commit comments

Comments
 (0)