Updated support email

Added support email config variable to .env
and set default value to info@openstack.org

Change-Id: I29634d73ada11024bfa5050bd03b1a1fd5305a89
This commit is contained in:
Sebastian Marcet 2018-01-10 07:27:59 -03:00
parent 07294e97ac
commit 7647be9500
3 changed files with 4 additions and 2 deletions

View File

@ -62,3 +62,4 @@ RECAPTCHA_PUBLIC_KEY=
RECAPTCHA_PRIVATE_KEY=
BANNING_ENABLE=
SUPPORT_EMAIL=

View File

@ -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);

View File

@ -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'),
);