mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +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