hdong: Fix phone exist check issues.
This commit is contained in:
parent
28908d9592
commit
5bf9173708
|
|
@ -548,7 +548,7 @@ public class UserService : IUserService
|
|||
}
|
||||
|
||||
var db = _services.GetRequiredService<IBotSharpRepository>();
|
||||
var UserByphone = db.GetUserByPhone(phone, regionCode);
|
||||
var UserByphone = db.GetUserByPhone(phone, regionCode: regionCode);
|
||||
if (UserByphone != null && UserByphone.Verified)
|
||||
{
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue