mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/9687] Require @ sign in emails
PHPBB3-9687
This commit is contained in:
parent
63473239f2
commit
21b389bb81
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue