mirror of
https://github.com/friendica/friendica
synced 2024-11-19 13:03:41 +00:00
allowed_email matching $host instead of $domain
This commit is contained in:
parent
2270e73fcd
commit
0578751cc9
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1825,7 +1825,7 @@ function allowed_email($email) {
|
|||
if(count($allowed)) {
|
||||
foreach($allowed as $a) {
|
||||
$pat = strtolower(trim($a));
|
||||
if(($fnmatch && fnmatch($pat,$host)) || ($pat == $host)) {
|
||||
if(($fnmatch && fnmatch($pat,$domain)) || ($pat == $domain)) {
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue