3 changed files with 350 additions and 314 deletions
@ -9,67 +9,71 @@ |
|||||||
|
|
||||||
// Config variables |
// Config variables |
||||||
|
|
||||||
$config['aauth'] = array( |
// if user don't have permisssion to see the page he will be |
||||||
'login_page' => '/login', |
// redirected the page spesificed below |
||||||
// if user don't have permisssion to see the page he will be |
$config['aauth']['no_permission'] = '/'; |
||||||
// redirected the page spesificed below |
//name of admin group |
||||||
'no_permission' => '/', |
$config['aauth']['admin_group'] = 'admin'; |
||||||
//name of admin group |
//name of default group, the new user is added in it |
||||||
'admin_group' => 'admin', |
$config['aauth']['default_group'] = 'default'; |
||||||
//name of default group, the new user is added in it |
// public group , people who not logged in |
||||||
'default_group' => 'default', |
$config['aauth']['public_group'] = 'public'; |
||||||
// public group , people who not logged in |
// The table which contains users |
||||||
'public_group' => 'public', |
$config['aauth']['db_profile'] = 'default'; |
||||||
// The table which contains users |
|
||||||
'users' => 'aauth_users', |
|
||||||
// the group table |
|
||||||
'groups' => 'aauth_groups', |
|
||||||
// |
|
||||||
'user_to_group' => 'aauth_user_to_group', |
|
||||||
// permitions |
|
||||||
'perms' => 'aauth_perms', |
|
||||||
// perms to group |
|
||||||
'perm_to_group' => 'aauth_perm_to_group', |
|
||||||
// perms to group |
|
||||||
'perm_to_user' => 'aauth_perm_to_user', |
|
||||||
// pm table |
|
||||||
'pms' => 'aauth_pms', |
|
||||||
// system variables |
|
||||||
'system_variables' => 'aauth_system_variables', |
|
||||||
// user variables |
|
||||||
'user_variables' => 'aauth_user_variables', |
|
||||||
|
|
||||||
// remember time |
$config['aauth']['users'] = 'aauth_users'; |
||||||
'remember' => ' +3 days', |
// the group table |
||||||
|
$config['aauth']['groups'] = 'aauth_groups'; |
||||||
|
// |
||||||
|
$config['aauth']['user_to_group'] = 'aauth_user_to_group'; |
||||||
|
// permitions |
||||||
|
$config['aauth']['perms'] = 'aauth_perms'; |
||||||
|
// perms to group |
||||||
|
$config['aauth']['perm_to_group'] = 'aauth_perm_to_group'; |
||||||
|
// perms to group |
||||||
|
$config['aauth']['perm_to_user'] = 'aauth_perm_to_user'; |
||||||
|
// pm table |
||||||
|
$config['aauth']['pms'] = 'aauth_pms'; |
||||||
|
// system variables |
||||||
|
$config['aauth']['system_variables'] = 'aauth_system_variables'; |
||||||
|
// user variables |
||||||
|
$config['aauth']['user_variables'] = 'aauth_user_variables'; |
||||||
|
|
||||||
// pasword maximum char long (min is 4) |
// remember time |
||||||
'max' => 13, |
$config['aauth']['remember'] = ' +3 days'; |
||||||
|
|
||||||
// non alphanumeric characters that are allowed in a name |
// pasword maximum char long (min is 4) |
||||||
'valid_chars' => array(' ', '\''), |
$config['aauth']['max'] = 13; |
||||||
|
|
||||||
// ddos protection, |
// non alphanumeric characters that are allowed in a name |
||||||
//if it is true, the user will be banned temporary when he exceed the login 'try' |
$config['aauth']['valid_chars'] = array(' ', '\''); |
||||||
'ddos_protection' => true, |
|
||||||
|
|
||||||
'recaptcha_active' => false, |
// ddos protection, |
||||||
'recaptcha_login_attempts' => 4, |
//if it is true, the user will be banned temporary when he exceed the login 'try' |
||||||
'recaptcha_siteKey' => '', |
$config['aauth']['ddos_protection'] = true; |
||||||
'recaptcha_secret' => '', |
|
||||||
|
|
||||||
// login attempts time interval |
$config['aauth']['recaptcha_active'] = false; |
||||||
// default 20 times in one hour |
$config['aauth']['recaptcha_login_attempts'] = 4; |
||||||
'max_login_attempt' => 10, |
$config['aauth']['recaptcha_siteKey'] = ''; |
||||||
|
$config['aauth']['recaptcha_secret'] = ''; |
||||||
|
|
||||||
// to register email verifitaion need? true / false |
// login attempts time interval |
||||||
'verification' => false, |
// default 20 times in one hour |
||||||
|
$config['aauth']['max_login_attempt'] = 10; |
||||||
|
|
||||||
// system email. |
// to register email verifitaion need? true / false |
||||||
'email' => '[email protected]', |
$config['aauth']['verification'] = false; |
||||||
'name' => 'Emre Akay' |
|
||||||
|
|
||||||
); |
|
||||||
|
|
||||||
|
$config['aauth']['login_with_name'] = false; |
||||||
|
|
||||||
|
// system email. |
||||||
|
$config['aauth']['email'] = '[email protected]'; |
||||||
|
$config['aauth']['name'] = 'Emre Akay'; |
||||||
|
|
||||||
|
// Link for verification without site_url or base_url |
||||||
|
$config['aauth']['verification_link'] = '/account/verification/'; |
||||||
|
// Link for reset_password without site_url or base_url |
||||||
|
$config['aauth']['reset_password_link'] = '/account/reset_password/'; |
||||||
|
|
||||||
/* End of file aauth.php */ |
/* End of file aauth.php */ |
||||||
/* Location: ./application/config/aauth.php */ |
/* Location: ./application/config/aauth.php */ |
||||||
|
Loading…
Reference in new issue