Make surewe you only add properties that are from the UserLoginInfo type.
This commit is contained in:
@@ -205,7 +205,8 @@ namespace AspNetCore.Identity.MongoDbCore.Models
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Logins.Add(userLoginInfo);
|
|
||||||
|
Logins.Add(new UserLoginInfo(userLoginInfo.LoginProvider, userLoginInfo.ProviderKey, userLoginInfo.ProviderDisplayName));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user