We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff51e81 commit 117cbd7Copy full SHA for 117cbd7
src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs
@@ -62,7 +62,7 @@ record = db.GetUserByUserName(user.UserName);
62
63
if (!string.IsNullOrWhiteSpace(user.Phone))
64
{
65
- record = db.GetUserByPhone(user.Phone);
+ record = db.GetUserByPhone(user.Phone, regionCode: (string.IsNullOrWhiteSpace(user.RegionCode) ? "CN" : user.RegionCode));
66
}
67
68
if (record == null && !string.IsNullOrWhiteSpace(user.Email))
0 commit comments