Skip to content

Commit

Permalink
refact: user welcome email
Browse files Browse the repository at this point in the history
  • Loading branch information
kaioken committed Jul 29, 2024
1 parent 9c50c7e commit 21549fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Kanvas/Users/Services/UserNotificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public static function sendWelcomeEmail(
): void {
try {
if ($app->get((string) AppSettingsEnums::SEND_WELCOME_EMAIL->getValue())) {

$welcomeEmailConfig = $app->get((string) AppSettingsEnums::WELCOME_EMAIL_CONFIG->getValue()) ?? [];

$title = $welcomeEmailConfig['title'] ?? 'Welcome to ' . $app->name;
Expand Down

0 comments on commit 21549fe

Please sign in to comment.