diff --git a/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs b/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs index 3858d63d..647ed59c 100644 --- a/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs +++ b/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs @@ -525,7 +525,7 @@ public class UserService : IUserService public async Task VerifyEmailExisting(string email) { - if (string.IsNullOrEmpty(email)) + if (string.IsNullOrWhiteSpace(email)) { return true; } @@ -542,7 +542,7 @@ public class UserService : IUserService public async Task VerifyPhoneExisting(string phone, string regionCode) { - if (string.IsNullOrEmpty(phone)) + if (string.IsNullOrWhiteSpace(phone)) { return true; }