Make surewe you only add properties that are from the UserLoginInfo type.
This commit is contained in:
1 parent
e9ce1b0111
commit
17b38aeb3f
1 file changed
+2
-1
@@ -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