From 0a316f1056d64f9975aa541f394cc05e350d0711 Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Wed, 16 Apr 2025 23:03:40 +0200 Subject: [PATCH 1/4] Update identifiers.rst Clarify multi column --- docs/en/identifiers.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/identifiers.rst b/docs/en/identifiers.rst index 86a0e179..e62283cc 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 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 form posted `login` field content. - **resolver**: The identity resolver. Default is ``Authentication.Orm`` which uses CakePHP ORM. - **passwordHasher**: Password hasher. Default is From 40eea31e5c7668ff0e2f5fcd4206b4568ded8d3f Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Wed, 16 Apr 2025 23:05:23 +0200 Subject: [PATCH 2/4] Update identifiers.rst --- docs/en/identifiers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/identifiers.rst b/docs/en/identifiers.rst index e62283cc..bdc28037 100644 --- a/docs/en/identifiers.rst +++ b/docs/en/identifiers.rst @@ -40,7 +40,7 @@ Configuration options: ``['username' => 'username', 'password' => 'password']``. You can also set the 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 form posted `login` field content. + will allow you to match value of either ``username`` or ``email`` columns based on your form posted ``login`` field content. - **resolver**: The identity resolver. Default is ``Authentication.Orm`` which uses CakePHP ORM. - **passwordHasher**: Password hasher. Default is From ddccb19032f7bd50ba63cdbc32dbfed50406d62b Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Wed, 16 Apr 2025 23:05:51 +0200 Subject: [PATCH 3/4] Update identifiers.rst --- docs/en/identifiers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/identifiers.rst b/docs/en/identifiers.rst index bdc28037..5a0bd697 100644 --- a/docs/en/identifiers.rst +++ b/docs/en/identifiers.rst @@ -38,7 +38,7 @@ Configuration options: - **fields**: The fields for the lookup. Default is ``['username' => 'username', 'password' => 'password']``. You can - also set the field name to an array. For e.g. using + also set the table 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 form posted ``login`` field content. - **resolver**: The identity resolver. Default is From be7edc91f833b58a6842197dc274ca80f054a22f Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Wed, 16 Apr 2025 23:06:25 +0200 Subject: [PATCH 4/4] Update identifiers.rst --- docs/en/identifiers.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/identifiers.rst b/docs/en/identifiers.rst index 5a0bd697..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 table field name to an array. For e.g. using + 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 form posted ``login`` field content. + 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