mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 19:01:39 +00:00
🤖 Auto commit for release 'develop' on 2025-04-03
This commit is contained in:
@@ -113,7 +113,7 @@ class UnknownUserLoginAttempt extends Notification
|
||||
public function via(OwnerNotifiable $notifiable): array
|
||||
{
|
||||
$channels = ReturnsAvailableChannels::returnChannels('owner');
|
||||
$isDemoSite = FireflyConfig::get('is_demo_site',false)->data;
|
||||
$isDemoSite = FireflyConfig::get('is_demo_site', false)->data;
|
||||
if (true === $isDemoSite) {
|
||||
return array_diff($channels, ['mail']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user