diff options
Diffstat (limited to 'lib/Service/CurlService.php')
-rw-r--r-- | lib/Service/CurlService.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index f1ef53f3..c864bc14 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -105,9 +105,9 @@ class CurlService { $account = $this->withoutBeginAt($account); // we consider an account is like an email - if (!filter_var($account, FILTER_VALIDATE_EMAIL)) { - throw new InvalidResourceException('account format is not valid'); - } + // if (!filter_var($account, FILTER_VALIDATE_EMAIL)) { + // throw new InvalidResourceException('account format is not valid'); + // } $exploded = explode('@', $account); |