protected function setForgottenDefaults()
{
// verify* values.
if (!isset($this->config['verify_password_min_length'])) {
$this->config['verify_password_min_length'] = 3;
}
if (!isset($this->config['verify_password_max_length'])) {
$this->config['verify_password_max_length'] = 150;
}
if (!isset($this->config['verify_password_strong_requirements'])) {
$this->config['verify_password_strong_requirements'] = 1;
}
if (!isset($this->config['verify_email_min_length'])) {
$this->config['verify_email_min_length'] = 5;
}
if (!isset($this->config['verify_email_max_length'])) {
$this->config['verify_email_max_length'] = 100;
}
if (!isset($this->config['verify_email_use_banlist'])) {
$this->config['verify_email_use_banlist'] = 1;
}
// emailmessage* values
if (!isset($this->config['emailmessage_suppress_activation'])) {
$this->config['emailmessage_suppress_activation'] = 0;
}
if (!isset($this->config['emailmessage_suppress_reset'])) {
$this->config['emailmessage_suppress_reset'] = 0;
}
if (!isset($this->config['mail_charset'])) {
$this->config['mail_charset'] = "UTF-8";
}
}