Update environment variables - default

This commit is contained in:
Dillon Ngo
2026-01-14 14:00:59 +08:00
parent 0fef8bcffc
commit 34d872a5ce
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ VOUCHERIFY_URL="https://as1.api.voucherify.io"
VAPOR_ENV=local
LARAVEL_VAPOR_ENABLED=false
COMMANDS_V2_ENABLED=false
SENDING_EMAIL_ENABLED=false
SENDING_EMAIL_WELCOME_VOUCHER_ENABLED=false
SENDING_EMAIL_ENABLED=true
SENDING_EMAIL_WELCOME_VOUCHER_ENABLED=true
E_INVOICE_START_DATE="2025-07-01 00:00:00"
@@ -162,8 +162,8 @@ class CreateCustomerLogic extends AbstractControllerLogic
CreatePerfexCRMCustomer::dispatch($createLeadPerfexCRMObject);
}
$isSendingEmailEnabled = env('SENDING_EMAIL_ENABLED', false);
if($isSendingEmailEnabled){
$isSendingEmailEnabled = env('SENDING_EMAIL_ENABLED', true);
if(app()->environment('production') && $isSendingEmailEnabled){
$this->generateEmailVerificationAttemptProcessor->execute($user);
}