Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/en/identifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Configuration options:

- **fields**: The fields for the lookup. Default is
``['username' => 'username', 'password' => 'password']``. You can
also set the ``username`` to an array. For e.g. using
``['username' => ['username', 'email'], 'password' => 'password']``
will allow you to match value of either username or email columns.
also set the lookup field name to an array. For e.g. using
``['login' => ['username', 'email'], 'password' => 'password']``
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will allow you to match value of either ``username`` or ``email`` columns based on your (e.g. form posted) ``login`` field content.
- **resolver**: The identity resolver. Default is
``Authentication.Orm`` which uses CakePHP ORM.
- **passwordHasher**: Password hasher. Default is
Expand Down