fix: Activated user changes phone number to inactive user bug

This commit is contained in:
AnonymousDotNet 2024-10-30 16:45:24 +08:00
parent 9a1cf696a2
commit 656e96aec5

View file

@ -483,7 +483,7 @@ public class UserService : IUserService
var db = _services.GetRequiredService<IBotSharpRepository>(); var db = _services.GetRequiredService<IBotSharpRepository>();
var UserByphone = db.GetUserByPhone(phone); var UserByphone = db.GetUserByPhone(phone);
if (UserByphone != null && UserByphone.Verified) if (UserByphone != null/* && UserByphone.Verified*/)
{ {
return true; return true;
} }