Skip to content

Commit

Permalink
Use password_hashers instead of encoders in security configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bytehead committed Nov 12, 2021
1 parent c6a4781 commit b022da0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions core-bundle/tests/Functional/app/config/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ security:
contao.security.frontend_user_provider:
id: contao.security.frontend_user_provider

encoders:
Contao\User:
algorithm: auto
password_hashers:
Contao\User: auto

firewalls:
dev:
Expand Down
5 changes: 2 additions & 3 deletions manager-bundle/src/Resources/skeleton/config/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ security:
contao.security.frontend_user_provider:
id: contao.security.frontend_user_provider

encoders:
Contao\User:
algorithm: auto
password_hashers:
Contao\User: auto

firewalls:
contao_install:
Expand Down

0 comments on commit b022da0

Please sign in to comment.