Commit 139e608
committed
Change the way to reset the plain password after hashing it
The PasswordUpdater implementation resets the plain password to `null`
after hashing the password, marking the fact that a next code (done in a
Doctrine listener for instance) would not need to hash anything anymore.
Instead of relying on `UserInterface::eraseCredentials` which is
deprecated in Symfony 7.3+ and not guaranteed to implement this behavior
if the entity overrides the method, the `null` is now set explicitly.1 parent 607a7fb commit 139e608
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
0 commit comments