mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Merge branch 'dillon/129-environment-variables' into vapor/development
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
@@ -168,8 +168,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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user