Fix for #11591
This commit is contained in:
@@ -78,6 +78,7 @@ namespace Umbraco.Cms.Web.BackOffice.Security
|
|||||||
if (shouldSignIn == false)
|
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);
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user