From 7647be9500cda032bbe765b64aa7e8070e275ebb Mon Sep 17 00:00:00 2001 From: Sebastian Marcet Date: Wed, 10 Jan 2018 07:27:59 -0300 Subject: [PATCH] Updated support email Added support email config variable to .env and set default value to info@openstack.org Change-Id: I29634d73ada11024bfa5050bd03b1a1fd5305a89 --- .env.example | 3 ++- app/Services/Utils/ServerConfigurationService.php | 2 +- config/server.php | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index c3caec60..af8a169c 100644 --- a/.env.example +++ b/.env.example @@ -61,4 +61,5 @@ EVENTBRITE_OAUTH2_PERSONAL_TOKEN= RECAPTCHA_PUBLIC_KEY= RECAPTCHA_PRIVATE_KEY= -BANNING_ENABLE= \ No newline at end of file +BANNING_ENABLE= +SUPPORT_EMAIL= \ No newline at end of file diff --git a/app/Services/Utils/ServerConfigurationService.php b/app/Services/Utils/ServerConfigurationService.php index 57f1999a..95be06cf 100644 --- a/app/Services/Utils/ServerConfigurationService.php +++ b/app/Services/Utils/ServerConfigurationService.php @@ -57,7 +57,7 @@ class ServerConfigurationService implements IOpenIdServerConfigurationService, I //general $this->default_config_params["MaxFailed.Login.Attempts"] = Config::get('server.MaxFailed_Login_Attempts', 10); - $this->default_config_params["SupportEmail"] = Config::get('server.Support_Email', 'noreply@openstack.org'); + $this->default_config_params["SupportEmail"] = Config::get('server.support_email', 'info@openstack.org'); $this->default_config_params["MaxFailed.LoginAttempts.2ShowCaptcha"] = Config::get('server.MaxFailed_LoginAttempts_2ShowCaptcha', 3); diff --git a/config/server.php b/config/server.php index cd09f9c9..62ba874a 100644 --- a/config/server.php +++ b/config/server.php @@ -18,4 +18,5 @@ return array 'db_log_enabled' => env('DB_LOG_ENABLED', false), 'assets_base_url' => env('ASSETS_BASE_URL', null), 'banning_enable' => env('BANNING_ENABLE', true), + 'support_email' => env('SUPPORT_EMAIL', 'info@openstack.org'), ); \ No newline at end of file