protected function setForgottenDefaults()
    {
        // ==== unchecked values ====
        $this->repairConfigValue('bcrypt_cost', 10);

        // cookies* values
        $this->repairConfigValue('cookie_name', 'phpauth_session_cookie');

        // verify* values
        $this->repairConfigValue('verify_password_min_length', 3);

        $this->repairConfigValue('verify_email_min_length', 5);

        $this->repairConfigValue('verify_email_max_length', 100);

        $this->repairConfigValue('verify_email_use_banlist', 1);

        // emailmessage* values

        $this->repairConfigValue('emailmessage_suppress_activation', 0);

        $this->repairConfigValue('emailmessage_suppress_reset', 0);

        $this->repairConfigValue('mail_charset', "UTF-8");

        // others
        $this->repairConfigValue('allow_concurrent_sessions', false);
	}
protected function setForgottenDefaults()
    {
        // ==== unchecked values ====
        $this->repairConfigValue('bcrypt_cost', 10);

        // cookies* values
        $this->repairConfigValue('cookie_name', 'phpauth_session_cookie');

        // verify* values
        $this->repairConfigValue('verify_password_min_length', 3);

        $this->repairConfigValue('verify_email_min_length', 5);

        $this->repairConfigValue('verify_email_max_length', 100);

        $this->repairConfigValue('verify_email_use_banlist', 1);

        // emailmessage* values

        $this->repairConfigValue('emailmessage_suppress_activation', 0);

        $this->repairConfigValue('emailmessage_suppress_reset', 0);

        $this->repairConfigValue('mail_charset', "UTF-8");

        // others
        $this->repairConfigValue('allow_concurrent_sessions', false);
	}
protected function setForgottenDefaults ( ) { // ==== unchecked values ==== $ this -> repairConfigValue ( 'bcrypt_cost' , 10 ) ; // cookies* values $ this -> repairConfigValue ( 'cookie_name' , 'phpauth_session_cookie' ) ; // verify* values $ this -> repairConfigValue ( 'verify_password_min_length' , 3 ) ; $ this -> repairConfigValue ( 'verify_email_min_length' , 5 ) ; $ this -> repairConfigValue ( 'verify_email_max_length' , 100 ) ; $ this -> repairConfigValue ( 'verify_email_use_banlist' , 1 ) ; // emailmessage* values $ this -> repairConfigValue ( 'emailmessage_suppress_activation' , 0 ) ; $ this -> repairConfigValue ( 'emailmessage_suppress_reset' , 0 ) ; $ this -> repairConfigValue ( 'mail_charset' , "UTF-8" ) ; // others $ this -> repairConfigValue ( 'allow_concurrent_sessions' , false ) ; }
Danger foreseen is half avoided.

Set default values.
REQUIRED FOR USERS THAT DOES NOT UPDATE THEIR `config` TABLES.
Danger foreseen is half avoided .