8000 minor #35958 improve PlaintextPasswordEncoder docBlock summary (jrush… · simPod/symfony@bd0bf52 · GitHub
[go: up one dir, main page]

Skip to content

Commit bd0bf52

Browse files
committed
minor symfony#35958 improve PlaintextPasswordEncoder docBlock summary (jrushlow)
This PR was squashed before being merged into the 3.4 branch. Discussion ---------- improve PlaintextPasswordEncoder docBlock summary | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Updates class summary as suggested in tkt symfony#35927 & pr symfony#35929 to suggest the encoder is for test usage. Commits ------- 622facf Tweak message a56d262 improve PlaintextPasswordEncoder docBlock summary
2 parents 0ad2fdf + 622facf commit bd0bf52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/Security/Core/Encoder/PlaintextPasswordEncoder.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
1515

1616
/**
17-
* PlaintextPasswordEncoder does not do any encoding.
17+
* PlaintextPasswordEncoder does not do any encoding but is useful in testing environments.
18+
*
19+
* As this encoder is not cryptographically secure, usage of it in production environments is discouraged.
1820
*
1921
* @author Fabien Potencier <fabien@symfony.com>
2022
*/

0 commit comments

Comments
 (0)
0