diff --git a/app/Services/EmailService.php b/app/Services/EmailService.php index 70117f529..8582c90d2 100644 --- a/app/Services/EmailService.php +++ b/app/Services/EmailService.php @@ -12,7 +12,7 @@ class EmailService { $parts = explode('@', $email); - return in_array(last($parts), self::bannedDomains()); + return in_array(strtolower(last($parts)), array_map('strtolower', self::bannedDomains())); } public static function bannedDomains()