@@ -70,10 +70,6 @@ class EmailNotificationSettings extends Model
|
|||||||
|
|
||||||
public function isEnabled()
|
public function isEnabled()
|
||||||
{
|
{
|
||||||
if (isCloud()) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings;
|
return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -83,7 +83,7 @@ class Test extends Notification implements ShouldQueue
|
|||||||
'buttons' => [
|
'buttons' => [
|
||||||
[
|
[
|
||||||
'text' => 'Go to your dashboard',
|
'text' => 'Go to your dashboard',
|
||||||
'url' => base_url(),
|
'url' => isDev() ? 'https://staging-but-dev.coolify.io' : base_url(),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user