mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix domain check.
This commit is contained in:
parent
95a456860a
commit
ea6896816d
@ -264,7 +264,7 @@ class AuthController extends Controller
|
|||||||
*/
|
*/
|
||||||
protected function getBlockedDomains()
|
protected function getBlockedDomains()
|
||||||
{
|
{
|
||||||
$set = Config::get('mail.blocked_domains');
|
$set = explode(',',env('BLOCKED_DOMAINS',''));
|
||||||
$domains = [];
|
$domains = [];
|
||||||
foreach ($set as $entry) {
|
foreach ($set as $entry) {
|
||||||
$domain = trim($entry);
|
$domain = trim($entry);
|
||||||
|
Loading…
Reference in New Issue
Block a user