fix: Activated user changes phone number to inactive user bug
This commit is contained in:
parent
9a1cf696a2
commit
656e96aec5
|
|
@ -483,7 +483,7 @@ public class UserService : IUserService
|
|||
|
||||
var db = _services.GetRequiredService<IBotSharpRepository>();
|
||||
var UserByphone = db.GetUserByPhone(phone);
|
||||
if (UserByphone != null && UserByphone.Verified)
|
||||
if (UserByphone != null/* && UserByphone.Verified*/)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue