mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
517 B
517 B
id | title |
---|---|
ebc9cf71-62ed-44fa-98c6-b2d01fbd69fe | Sodium password encoder |
Description
In Symfony 4.3, the Symfony Argon2i Password
Hasher is deprecated.
SodiumPasswordEncoder
is used instead. Best practice since Symfony
4.3 is to use the native
encoder.
Syntax
# config/packages/security.yml
security:
# ...
encoders:
App\Entity\User:
algorithm: sodium