1 << 12, // 4MB 'time_cost' => 2, 'threads' => 2 ]; $config['argon2_admin_params'] = [ 'memory_cost' => 1 << 14, // 16MB 'time_cost' => 4, 'threads' => 2 ]; /* | ------------------------------------------------------------------------- | Authentication options. | ------------------------------------------------------------------------- | maximum_login_attempts: This maximum is not enforced by the library, but is used by | is_max_login_attempts_exceeded(). | The controller should check this function and act appropriately. | If this variable set to 0, there is no maximum. | min_password_length: This minimum is not enforced directly by the library. | The controller should define a validation rule to enforce it. | See the Auth controller for an example implementation. | | The library will fail for empty password or password size above 4096 bytes. | This is an arbitrary (long) value to protect against DOS attack. */ $config['site_title'] = "Admin Panel"; // Site Title, example.com $config['admin_email'] = "admin@example.com"; // Admin Email, admin@example.com $config['default_group'] = 'admin'; // Default group, use name $config['admin_group'] = 'admin'; // Default administrators group, use name $config['identity'] = 'username'; /* You can use any unique column in your table as identity column. The values in this column, alongside password, will be used for login purposes IMPORTANT: If you are changing it from the default (email), update the UNIQUE constraint in your DB */ $config['min_password_length'] = 8; // Minimum Required Length of Password (not enforced by lib - see note above) $config['email_activation'] = FALSE; // Email Activation for registration $config['manual_activation'] = FALSE; // Manual Activation for registration $config['remember_users'] = TRUE; // Allow users to be remembered and enable auto-login $config['user_expire'] = 86500; // How long to remember the user (seconds). Set to zero for no expiration - see sess_expiration in CodeIgniter Session Config for session expiration $config['user_extend_on_login'] = FALSE; // Extend the users cookies every time they auto-login $config['track_login_attempts'] = TRUE; // Track the number of failed login attempts for each user or ip. $config['track_login_ip_address'] = TRUE; // Track login attempts by IP Address, if FALSE will track based on identity. (Default: TRUE) $config['maximum_login_attempts'] = 3; // The maximum number of failed login attempts. $config['lockout_time'] = 600; /* The number of seconds to lockout an account due to exceeded attempts You should not use a value below 60 (1 minute) */ $config['forgot_password_expiration'] = 1800; /* The number of seconds after which a forgot password request will expire. If set to 0, forgot password requests will not expire. 30 minutes to 1 hour are good values (enough for a user to receive the email and reset its password) You should not set a value too high, as it would be a security issue! */ $config['recheck_timer'] = 0; /* The number of seconds after which the session is checked again against database to see if the user still exists and is active. Leave 0 if you don't want session recheck. if you really think you need to recheck the session against database, we would recommend a higher value, as this would affect performance */ /* | ------------------------------------------------------------------------- | Cookie options. | ------------------------------------------------------------------------- | remember_cookie_name Default: remember_code */ $config['remember_cookie_name'] = 'remember_code'; /* | ------------------------------------------------------------------------- | Email options. | ------------------------------------------------------------------------- | email_config: | 'file' = Use the default CI config or use from a config file | array = Manually set your email config settings */ $config['use_ci_email'] = FALSE; // Send Email using the builtin CI email class, if false it will return the code and the identity $config['email_config'] = [ 'mailtype' => 'html', ]; /* | ------------------------------------------------------------------------- | Email templates. | ------------------------------------------------------------------------- | Folder where email templates are stored. | Default: auth/ */ $config['email_templates'] = 'auth/email/'; /* | ------------------------------------------------------------------------- | Activate Account Email Template | ------------------------------------------------------------------------- | Default: activate.tpl.php */ $config['email_activate'] = 'activate.tpl.php'; /* | ------------------------------------------------------------------------- | Forgot Password Email Template | ------------------------------------------------------------------------- | Default: forgot_password.tpl.php */ $config['email_forgot_password'] = 'forgot_password.tpl.php'; /* | ------------------------------------------------------------------------- | Message Delimiters. | ------------------------------------------------------------------------- */ $config['delimiters_source'] = 'config'; // "config" = use the settings defined here, "form_validation" = use the settings defined in CI's form validation library $config['message_start_delimiter'] = '

'; // Message start delimiter $config['message_end_delimiter'] = '

'; // Message end delimiter $config['error_start_delimiter'] = '

'; // Error message start delimiter $config['error_end_delimiter'] = '

'; // Error message end delimiter