mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-21 17:11:53 +02:00
[ticket/9687] Require @ sign in emails
PHPBB3-9687
This commit is contained in:
@@ -40,7 +40,7 @@ class email extends base
|
|||||||
{
|
{
|
||||||
$this->get_excluded();
|
$this->get_excluded();
|
||||||
|
|
||||||
$regex = '#^.*?@*|(([a-z0-9\-]+\.)+([a-z]{2,3}))$#i';
|
$regex = '#^.*?@.*|(([a-z0-9\-]+\.)+([a-z]{2,3}))$#i';
|
||||||
|
|
||||||
$ban_items = [];
|
$ban_items = [];
|
||||||
foreach ($items as $item)
|
foreach ($items as $item)
|
||||||
|
Reference in New Issue
Block a user