Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@snowlong
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snowlong/5c884626beb3687fde16 to your computer and use it in GitHub Desktop.
Save snowlong/5c884626beb3687fde16 to your computer and use it in GitHub Desktop.
CakePHP のAuthComponentの $settings
public $settings = array(
'fields' => array(
'username' => 'username',
'password' => 'password'
),
'userModel' => 'User',
'scope' => array(),
'recursive' => 0,
'contain' => null,
'passwordHasher' => 'Simple'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment