added re-captcha settings to database

This commit is contained in:
Amine Ben hammou
2017-12-18 14:17:17 +00:00
parent 8695d147e8
commit d2d1657cb2

View File

@@ -140,6 +140,16 @@ class Populator {
Setting::setValue('installed_at', date("Y-m-d H:i:s"));
}
// set reCaptcha settings
$re_captcha = Setting::getValue('re_captcha', array());
if(empty($re_captcha)) {
Setting::setValue('re_captcha', array(
'enabled' => false,
'site_token' => '',
'secret_token' => ''
));
}
// reset mailer log
MailerLog::resetMailerLog();
}