Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99aca45

Browse files
committed
feature#4749 [2.3][Book][Security] Add isPasswordValid doc as in 2.6 (xelaris)
This PR was merged into the 2.3 branch.Discussion----------[2.3][Book][Security] Add isPasswordValid doc as in 2.6| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | >=2.3| Fixed tickets |As mentioned in#4744 (comment) the paragraph from 2.6 branch is also applicable to 2.3.Commits-------0f67a1d [Book][Security] Add isPasswordValid doc as in 2.6
2 parentsf4f8621 +0f67a1d commit99aca45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎book/security.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,10 @@ In order for this to work, just make sure that you have the encoder for your
11171117
user class (e.g. ``AppBundle\Entity\User``) configured under the ``encoders``
11181118
key in ``app/config/security.yml``.
11191119

1120+
The ``$encoder`` object also has an ``isPasswordValid`` method, which takes
1121+
the ``User`` object as the first argument and the plain password to check
1122+
as the second argument.
1123+
11201124
..caution::
11211125

11221126
When you allow a user to submit a plaintext password (e.g. registration

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp