Commit eadb3f0
authored
don't create a salt for self-salting password encoders
Symfony marks `PasswordEncoderInterface` implementations that generate the salt themselves with `SelfSaltingEncoderInterface` since version 3.4. We can use this in `PasswordUpdater` to skip the salt generation for those encoders, the same way we skip it for `BCryptPasswordEncoder`.1 parent 5d21457 commit eadb3f0
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments