diff --git a/docs/en/identifiers.rst b/docs/en/identifiers.rst index 86a0e179..b3bf5989 100644 --- a/docs/en/identifiers.rst +++ b/docs/en/identifiers.rst @@ -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']`` + 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