@ -5,23 +5,19 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| -------------------------------------------------------------------
| Aauth Config
| -------------------------------------------------------------------
| A library Basic Authorization for CodeIgniter 2+
| A library Basic Authorization for CodeIgniter 2.x and 3.x
|
| -------------------------------------------------------------------
| EXPLANATION
| -------------------------------------------------------------------
|
| See http://codeigniter-aauth-test.readthedocs.org/en/latest/
| for more details and explainations
|
|
| ['no_permission'] If user don't have permisssion to see the page he will be redirected the page spesificed.
|
| ['admin_group'] Name of admin group
| ['default_group'] Name of default group, the new user is added in it
| ['public_group'] Public group , people who not logged in
|
| ['db_profile'] The configuration database profile (see config/database.php)
| ['db_profile'] The configuration database profile (definied in config/database.php)
|
| ['users'] The table which contains users
| ['groups'] The table which contains groups
@ -33,7 +29,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| ['user_variables'] The table which contains users variables
| ['login_attempts'] The table which contains login attempts
|
| ['remember'] Remember time elapsed after connecting and automatic LogOut
| ['remember'] Remember time (in relative format) elapsed after connecting and automatic LogOut for usage with Cookies
| Relative Format (e.g. '+ 1 week', '+ 1 month', '+ first day of next month')
| for details see http://php.net/manual/de/datetime.formats.relative.php
| !!IMPORTANT!! If you use Session instead of Cookies,
| remember time is definied by 'sess_expiration' in config/config.php
|
| ['max'] Maximum char long for Password
| ['min'] Minimum char long for Password
@ -42,8 +42,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
| ['ddos_protection'] If it is true, the user will be banned temporary when he exceed the login 'try'
|
| ['recaptcha_active'] Enable reCAPTCHA ( see www.google.com/recaptcha/admin)
| ['recaptcha_login_attempts'] :
| ['recaptcha_active'] Enable reCAPTCHA (for details see www.google.com/recaptcha/admin)
| ['recaptcha_login_attempts'] Login Attempts to display reCAPTCHA
| ['recaptcha_siteKey'] The reCAPTCHA siteKey
| ['recaptcha_secret'] The reCAPTCHA secretKey
|
@ -71,8 +71,16 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| ['hash'] Name of selected hashing algorithm (e.g. "md5", "sha256", "haval160,4", etc..)
| Please, run hash_algos() for know your all supported algorithms
| ['use_password_hash'] True to use PHP's own password_hash() function with BCrypt, needs PHP5.5 or higher
| ['password_hash_algo'] password_hash algorithm (PASSWORD_DEFAULT, PASSWORD_BCRYPT) for details see http://php.net/manual/de/password.constants.php
| ['password_hash_options'] password_hash options array for details see http://php.net/manual/en/function.password-hash.php
| ['password_hash_algo'] password_hash algorithm (PASSWORD_DEFAULT, PASSWORD_BCRYPT)
| for details see http://php.net/manual/de/password.constants.php
| ['password_hash_options'] password_hash options array
| for details see http://php.net/manual/en/function.password-hash.php
|
| ['pm_encryption'] Enables/Disables PM Encryption, needs configured CI Encryption Class.
| for details see: http://www.codeigniter.com/userguide2/libraries/encryption.html
| ['pm_cleanup_max_age'] PM Cleanup max age (in relative format), PM's are older than max age get deleted with 'cleanup_pms()'
| Relative Format (e.g. '2 week', '1 month')
| for details see http://php.net/manual/de/datetime.formats.relative.php
|
*/
$config_aauth = array();
@ -137,7 +145,8 @@ $config_aauth["default"] = array(
'password_hash_algo' => PASSWORD_DEFAULT,
'password_hash_options' => array(),
'pm_encryption' => false
'pm_encryption' => false,
'pm_cleanup_max_age' => "6 months",
);
$config['aauth'] = $config_aauth['default'];