Skip to content

Basic Plugin Config

OverFlow636 edited this page Jan 12, 2012 · 1 revision

I will explain each item in the ofum.php config file.

  1. $config['Ofum']['usernameField'] = 'email';
  • Customize the column that Auth will use to log your users in (username, email, etc)
  1. $config['Ofum']['rememberEnabled'] = true;
  • Control weather or not to allow cookie remembering of users
  1. $config['Ofum']['rememberDefault'] = false;
  • Control weather or not 'remember me' should be checked by default
  1. $config['Ofum']['trackLastAction'] = true;
  • Control weather or not the plugin tracks users last action (need a last_action column in user table)
  1. $config['Ofum']['trackLastLogin'] = true;
  • Control weather or not the plugin tracks users last login (need a last_login column in user table)

Clone this wiki locally