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 b4e0f1d commit 3f6a63bCopy full SHA for 3f6a63b
src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs
@@ -525,7 +525,7 @@ public async Task<bool> VerifyUserNameExisting(string userName)
525
526
public async Task<bool> VerifyEmailExisting(string email)
527
{
528
- if (string.IsNullOrEmpty(email))
+ if (string.IsNullOrWhiteSpace(email))
529
530
return true;
531
}
@@ -542,7 +542,7 @@ public async Task<bool> VerifyEmailExisting(string email)
542
543
public async Task<bool> VerifyPhoneExisting(string phone, string regionCode)
544
545
- if (string.IsNullOrEmpty(phone))
+ if (string.IsNullOrWhiteSpace(phone))
546
547
548
0 commit comments